Skip to content

DBコンテナ起動にPostgreSQL のパスワードが必要になっています #312

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

Closed
ota-snaq479 opened this issue Jun 10, 2020 · 1 comment · Fixed by #313
Closed

Comments

@ota-snaq479
Copy link

docker-compose run backend bundle exec rake db:createでこけました。
PostgreSQLのdocker image の変更により
PostgreSQLのコンテナに環境変数POSTGRES_PASSWORDの設定が必要になったようです。
(参考:https://qiita.com/at-946/items/2fb75cec5355fad4050d)

詳細は上記qiitaの記事をご覧いただくのが一番早いかと思われます。
上記、記事の方法(解決1)にてdb:createができるところまでは確認いたしました。

@ohbarye
Copy link
Owner

ohbarye commented Jun 10, 2020

Thanks for your report.
I've patched in #313, adding POSTGRES_HOST_AUTH_METHOD=trust to environment variables.

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 a pull request may close this issue.

2 participants