21 lines
460 B
YAML
21 lines
460 B
YAML
default: &default
|
|
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'] %>
|
|
|
|
development:
|
|
<<: *default
|
|
database: <%= ENV['DB_NAME'] %>_development
|
|
|
|
test:
|
|
<<: *default
|
|
database: <%= ENV['DB_NAME'] %>_test
|
|
|
|
production:
|
|
<<: *default
|
|
database: <%= ENV['DB_NAME'] %>_production
|