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