Skip to content

Instantly share code, notes, and snippets.

@ninabreznik
Created December 20, 2015 04:49
Show Gist options
  • Save ninabreznik/4c4dec367b43d30fe723 to your computer and use it in GitHub Desktop.
Save ninabreznik/4c4dec367b43d30fe723 to your computer and use it in GitHub Desktop.
Docker
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
test:
adapter: postgresql
pool: 5
timeout: 5000
username: postgres
password: password
host: db
database: ninabreznik_test
encoding: utf8
production:
adapter: postgresql
pool: 5
timeout: 5000
username: postgres
password: password
host: db
database: ninabreznik_production #don't forget to name it same here: docker run --name ninabreznik_production -e POSTGRES_PASSWORD="" -d postgres
encoding: utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment