fix: remove --wait flag from docker compose up
The --wait flag causes the deploy to abort when a container exits immediately (e.g., due to transient DB connection issue on startup). With restart: unless-stopped, containers will auto-recover without blocking the deployment pipeline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c371317755
commit
823b342c2c
@@ -128,6 +128,7 @@ jobs:
|
||||
fi
|
||||
done
|
||||
|
||||
# --wait waits for containers to become healthy before returning
|
||||
docker compose -f infra/docker/docker-compose.yml up -d --remove-orphans --wait --wait-timeout 90
|
||||
# Remove orphan containers but don't block on healthchecks —
|
||||
# containers have restart: unless-stopped and will recover on their own
|
||||
docker compose -f infra/docker/docker-compose.yml up -d --remove-orphans
|
||||
docker image prune -f
|
||||
|
||||
Reference in New Issue
Block a user