metamaps--metamaps/config/database.yml

22 lines
460 B
YAML
Raw Normal View History

2015-12-24 08:36:58 +00:00
default: &default
2014-05-30 15:00:31 +00:00
min_messages: WARNING
encoding: unicode
pool: 5
adapter: postgresql
host: <%= ENV['DB_HOST'] %>
port: <%= ENV['DB_PORT'] %>
username: <%= ENV['DB_USERNAME'] %>
password: <%= ENV['DB_PASSWORD'] %>
2015-12-24 08:36:58 +00:00
development:
<<: *default
2016-01-07 10:29:15 +00:00
database: <%= ENV['DB_NAME'] %>_development
2015-12-24 08:36:58 +00:00
test:
<<: *default
2016-01-07 10:29:15 +00:00
database: <%= ENV['DB_NAME'] %>_test
2015-12-24 08:36:58 +00:00
production:
<<: *default
2016-01-07 10:29:15 +00:00
database: <%= ENV['DB_NAME'] %>_production