AntiPattern
Postgres Setup Miswiring
postgres-connection-setup-miswiring
Database connectivity and initialization fail because container/runtime context is miswired: SQL init scripts mount to wrong paths, connection strings are misparsed, and localhost/private network scope mismatches prevent the app from reaching the intended PostgreSQL instance.