Created
December 20, 2015 04:49
-
-
Save ninabreznik/4c4dec367b43d30fe723 to your computer and use it in GitHub Desktop.
Docker
This file contains 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
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