2014-10-28 06:36:38 +01:00
|
|
|
#
|
|
|
|
# PRODUCTION
|
|
|
|
#
|
|
|
|
production:
|
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
|
|
|
database: justask_production
|
2014-12-12 22:50:54 +01:00
|
|
|
pool: 25
|
2014-10-28 06:36:38 +01: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 22:02:48 +02:00
|
|
|
database: <%= ENV['POSTGRES_DB'] %>
|
|
|
|
host: <%= ENV.fetch('POSTGRES_HOST', 'localhost') %>
|
2014-10-28 06:36:38 +01:00
|
|
|
pool: 5
|
2020-04-20 22:02:48 +02:00
|
|
|
username: <%= ENV['POSTGRES_USER'] %>
|
|
|
|
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
|
|
|
port: <%= ENV.fetch('POSTGRES_PORT', 5432) %>
|