Created
November 24, 2015 19:21
-
-
Save tylerflint/bd69abe6e892753b9354 to your computer and use it in GitHub Desktop.
configure rails database for nanobox
This file contains hidden or 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: postgresql | |
encoding: unicode | |
database: <%= ENV['POSTGRESQL1_NAME'] %>_development | |
pool: 25 | |
host: <%= ENV['POSTGRESQL1_HOST'] %> | |
username: <%= ENV['POSTGRESQL1_USER'] %> | |
password: <%= ENV['POSTGRESQL1_PASS'] %> | |
test: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= ENV['POSTGRESQL1_NAME'] %>_test | |
pool: 25 | |
host: <%= ENV['POSTGRESQL1_HOST'] %> | |
username: <%= ENV['POSTGRESQL1_USER'] %> | |
password: <%= ENV['POSTGRESQL1_PASS'] %> | |
production: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= ENV['POSTGRESQL1_NAME'] %> | |
pool: 50 | |
host: <%= ENV['POSTGRESQL1_HOST'] %> | |
username: <%= ENV['POSTGRESQL1_USER'] %> | |
password: <%= ENV['POSTGRESQL1_PASS'] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment