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
|
2020-04-20 13:02:48 -07:00
|
|
|
database: <%= ENV['POSTGRES_DB'] %>
|
|
|
|
host: <%= ENV.fetch('POSTGRES_HOST', 'localhost') %>
|
2014-10-27 22:36:38 -07:00
|
|
|
pool: 5
|
2020-04-20 13:02:48 -07:00
|
|
|
username: <%= ENV['POSTGRES_USER'] %>
|
|
|
|
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
|
|
|
port: <%= ENV.fetch('POSTGRES_PORT', 5432) %>
|