From 823b342c2c21963f13cafdb7ca3ac93a299850b4 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Tue, 9 Jun 2026 20:48:39 +0700 Subject: [PATCH] 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 --- .github/workflows/deploy-docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index 0208af3..1a2f55c 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -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