From 9e2040cefcc08703c6dc2915803044fbefc751ec Mon Sep 17 00:00:00 2001 From: denshooter Date: Tue, 3 Feb 2026 22:56:34 +0100 Subject: [PATCH] Fix production deployment: Start database dependencies - Remove --no-deps flag which prevented postgres and redis from starting - Remove --build flag as image is already built in previous step - This fixes 'Can't reach database server at postgres:5432' error --- .gitea/workflows/production-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/production-deploy.yml b/.gitea/workflows/production-deploy.yml index fff720f..7fc5f0d 100644 --- a/.gitea/workflows/production-deploy.yml +++ b/.gitea/workflows/production-deploy.yml @@ -74,7 +74,7 @@ jobs: # Start new container with updated image (docker-compose will handle this) echo "🆕 Starting new production container..." echo "📝 Environment check: N8N_WEBHOOK_URL=${N8N_WEBHOOK_URL:-(not set)}" - docker compose -f $COMPOSE_FILE up -d --no-deps --build portfolio + docker compose -f $COMPOSE_FILE up -d portfolio # Wait for new container to be healthy echo "⏳ Waiting for new container to be healthy..."