Skip to content

Instantly share code, notes, and snippets.

@thnery
Created April 9, 2017 01:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save thnery/4df9ebe560d6d4cd33b93b1e276237ae to your computer and use it in GitHub Desktop.
config/database for docker container
default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
database: myapp_api_development
host: db
test:
<<: *default
database: myapp_api_test
host: dbtest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment