Skip to content
Snippets Groups Projects
Commit 6fe8c158 authored by Codruț Constantin Gușoi's avatar Codruț Constantin Gușoi
Browse files

Listen only on the unix socket during init

Healthchecks that used `pg_isready -p 5432` were incorrectly flagging
the container as being healthy during initialization phase since
healthchecks are being run inside the container itself, so
`listen_addresses='localhost'` was not enough. Setting
`listen_addresses=''` forces the server to only listen on the unix
socket so no ports are open that might incorrectly interfeer with the
healthchecks.
parent 5876d4b8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment