Skip to content

fix: start the API in docker compose once PostgreSQL accepts connections - #270

Merged
bfabio merged 2 commits into
fix/limit-request-body-before-allocatingfrom
fix/wait-for-postgres-in-compose
Nov 20, 2026
Merged

bfabio merged 2 commits into
fix/limit-request-body-before-allocatingfrom
fix/wait-for-postgres-in-compose

Conversation

@bfabio

@bfabio bfabio commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

The API panics when the database refuses its first connection. The
old healthcheck went through the Unix socket, which also answers while
the entrypoint is still creating the databases.

The API panics when the database refuses its first connection. The
old healthcheck went through the Unix socket, which also answers while
the entrypoint is still creating the databases.
The latest tag also moves on release candidates, which a production
deployment should not pick up.
@bfabio
bfabio added this pull request to stack #272 November 20, 2026 10:49
@bfabio
bfabio merged commit e240ed6 into main Nov 20, 2026
7 checks passed
@bfabio
bfabio deleted the fix/wait-for-postgres-in-compose branch November 20, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant