fix: use docker exec for playout health check in CD workflow
CD / deploy (push) Failing after 23s
CI / test (push) Successful in 6m6s
CI / docker (push) Failing after 2m42s
CI / release (push) Skipped

This commit is contained in:
zwitschi committed 2026-08-04 10:12:38 +02:00
1 parent 1f2082e0fb
commit afb9a41404
1 file changed
+5 -1
+5 -1
View File
@@ -66,10 +66,14 @@ jobs:
docker compose -f docker-compose.prod.yml up -d --remove-orphans docker compose -f docker-compose.prod.yml up -d --remove-orphans
- name: Health check - name: Health check
env:
DOCKER_HOST: tcp://192.168.88.40:2375
run: | run: |
sleep 10 sleep 10
curl -f http://192.168.88.40:3000/health || exit 1 curl -f http://192.168.88.40:3000/health || exit 1
curl -f http://192.168.88.40:8081/health || exit 1 docker exec linearvoid-playout curl -sf http://localhost
curl -f http://192.168.88.40:3000/health || exit 1
docker exec linearvoid-playout curl -sf http://localhost:8081/health || exit 1
- name: Cleanup old images - name: Cleanup old images
env: env: