From e88c514376d7e9015b34fbc7394203e3015c78df Mon Sep 17 00:00:00 2001 From: Deeman Date: Sun, 22 Feb 2026 14:12:34 +0100 Subject: [PATCH] fix(deploy): add --profile to blue-app log dump docker compose requires --profile to access profiled services even for the logs command. Without it, blue-app logs were empty in the failure dump, hiding the actual crash reason. Co-Authored-By: Claude Sonnet 4.6 --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 3cce5f8..c0bd430 100755 --- a/deploy.sh +++ b/deploy.sh @@ -43,7 +43,7 @@ echo "==> Starting $TARGET (waiting for health check)..." if ! $COMPOSE --profile "$TARGET" up -d --wait; then echo "!!! Health check failed — dumping logs" echo "--- ${TARGET}-app logs ---" - $COMPOSE logs --tail=60 "${TARGET}-app" 2>&1 || true + $COMPOSE --profile "$TARGET" logs --tail=60 "${TARGET}-app" 2>&1 || true echo "--- router logs ---" $COMPOSE logs --tail=10 router 2>&1 || true echo "--- litestream logs ---"