Open tamafull opened 2 years ago
今のところメリットほぼないけど一から設定した経験がないので一度やっておきたい
https://docs.docker.com/samples/rails/
日本語版あった http://docs.docker.jp/compose/rails.html
https://hub.docker.com/_/postgres/ Postgresではパスワード設定の必要あり
既存のプロジェクトに導入したいので
docker-compose run web rails new . --force --database=postgresql
は不要 docker-compose buildからやる
https://github.com/docker-library/postgres/commit/42ce7437ee68150ee29f5272428aa4fc657dc6dc#diff-880c18ff2e8baabf3d17216c34d6675cc4301e4c4b39fc142a72018f092a2698R109
このコミットでエラー出るようにしてる
https://docs.docker.jp/engine/reference/builder.html
今のところメリットほぼないけど一から設定した経験がないので一度やっておきたい