From 98c3ebb96ce8d48893dcc8a1f24088f395602f96 Mon Sep 17 00:00:00 2001 From: denshooter Date: Tue, 3 Feb 2026 23:09:41 +0100 Subject: [PATCH] Fix postgres health check in production - Remove init-db.sql volume mount (not available in CI/CD environment) - Init script not needed as Prisma handles schema migrations - Postgres will initialize empty database automatically --- docker-compose.production.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 6ab4a32..4983fee 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -60,7 +60,6 @@ services: - POSTGRES_PASSWORD=portfolio_pass volumes: - postgres_data:/var/lib/postgresql/data - - ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql:ro networks: - portfolio_net healthcheck: