Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Update Postgres instructions for Rails Testing #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Postgres instructions for Rails Testing #66

wants to merge 1 commit into from

Commits on Apr 7, 2020

  1. Update Postgres instructions for Rails Testing

    The default Postgres image has changed and without any `env` variables the healthcheck will never pass.
    
    You need to set `POSTGRES_USER` and `POSTGRES_DB`, and may choose to set either `POSTGRES_PASSWORD` or `POSTGRES_HOST_AUTH_METHOD`. If you choose to set a password, your Rails test config must specify that password. Alternatively, you can set `POSTGRES_HOST_AUTH_METHOD=trust` to allow all local connections without a password.
    
    See docker-library/postgres@42ce743 for more context
    mheap authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    13a5342 View commit details
    Browse the repository at this point in the history