FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update Postgres instructions for Rails Testing by mheap · Pull Request #66 · actions/setup-ruby · GitHub

This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Repository navigation

Update Postgres instructions for Rails Testing - #66

Open
mheap wants to merge 1 commit into
actions:masterfrom
mheap:patch-1
Open

mheap wants to merge 1 commit into
actions:masterfrom
mheap:patch-1

Conversation

mheap commented Apr 7, 2020

Copy link
Copy Markdown

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

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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL