You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PostgreSQL health checks of the generated docker-compose.yml and CI workflows use pg_isready -h 127.0.0.1. Without -h the check goes through the socket, which also answers while the init server of the postgres image runs, before the port opens, so migrations could start early and stop with connection refused; a slow script in /docker-entrypoint-initdb.d made it happen every time. docker-compose.yml is regenerated on the next build. Workflows are yours: in an existing one, add -h 127.0.0.1 to --health-cmd yourself.