Docker Compose depends_on Doesn't Wait for the Database: Fix "Connection Refused" on Startup
DEV Community
Docker Compose depends_on Doesn't Wait for the Database: Fix "Connection Refused" on Startup
depends_on only waits for the container to start, not for Postgres to accept connections. Healthchecks, the init-phase trap, and retries.
0 comments
No comments yet.