Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen only on the unix socket during init #440

Merged
merged 1 commit into from
May 4, 2018
Merged

Listen only on the unix socket during init #440

merged 1 commit into from
May 4, 2018

Commits on May 4, 2018

  1. 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.
    codrut-fc committed May 4, 2018
    9 Configuration menu
    Copy the full SHA
    6fe8c15 View commit details
    Browse the repository at this point in the history