Fix postgres health check in production
All checks were successful
Production Deployment (Zero Downtime) / deploy-production (push) Successful in 12m0s

- 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
This commit is contained in:
2026-02-03 23:09:41 +01:00
parent 9e2040cefc
commit 98c3ebb96c

View File

@@ -60,7 +60,6 @@ services:
- POSTGRES_PASSWORD=portfolio_pass - POSTGRES_PASSWORD=portfolio_pass
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql:ro
networks: networks:
- portfolio_net - portfolio_net
healthcheck: healthcheck: