You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
442 B
22 lines
442 B
---
|
|
default: &default
|
|
host: <%= ENV.fetch("DATABASE_HOST") { 'localhost' } %>
|
|
database: &db_name <%= ENV.fetch("DATABASE_NAME") { 'easy-going-rails' } %>
|
|
user: *db_name
|
|
password: *db_name
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
pool: 5
|
|
|
|
development:
|
|
<<: *default
|
|
|
|
production:
|
|
<<: *default
|
|
database: &db_prod easy-going-rails_prod
|
|
user: *db_prod
|
|
password: *db_prod
|
|
|
|
test:
|
|
<<: *default
|
|
database: easy-going-rails_test
|