fix: use docker exec for playout health check in CD workflow
This commit is contained in:
1 parent
1f2082e0fb
commit
afb9a41404
1 file changed
+5
-1
@@ -66,10 +66,14 @@ jobs:
|
||||
docker compose -f docker-compose.prod.yml up -d --remove-orphans
|
||||
|
||||
- name: Health check
|
||||
env:
|
||||
DOCKER_HOST: tcp://192.168.88.40:2375
|
||||
run: |
|
||||
sleep 10
|
||||
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
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user