Retrospring/config/database.yml.postgres

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
823 B
Plaintext
Raw Normal View History

2014-10-27 22:36:38 -07:00
#
# PRODUCTION
#
production:
adapter: postgresql
encoding: unicode
database: justask_production
2014-12-12 13:50:54 -08:00
pool: 25
2014-10-27 22:36:38 -07:00
# username: justask
# password:
# host: localhost
# port: 5432
#
# Development specific
#
development:
adapter: postgresql
encoding: unicode
database: justask_development
pool: 5
username: postgres
password:
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: &test
adapter: postgresql
encoding: unicode
database: <%= ENV['POSTGRES_DB'] %>
host: <%= ENV.fetch('POSTGRES_HOST', 'localhost') %>
2014-10-27 22:36:38 -07:00
pool: 5
username: <%= ENV['POSTGRES_USER'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>
port: <%= ENV.fetch('POSTGRES_PORT', 5432) %>