2018-02-09 09:49:02 +01:00
|
|
|
default: &default
|
2015-08-10 11:05:06 +02:00
|
|
|
adapter: postgresql
|
|
|
|
encoding: unicode
|
2018-02-09 09:49:02 +01:00
|
|
|
pool: <%= ENV.fetch("DB_POOL") { 5 } %>
|
|
|
|
timeout: 5000
|
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
2015-09-01 14:27:27 +02:00
|
|
|
database: tps_development
|
2015-08-10 11:05:06 +02:00
|
|
|
host: localhost
|
2017-04-04 13:33:43 +02:00
|
|
|
username: tps_development
|
|
|
|
password: tps_development
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
test:
|
2018-02-09 09:49:02 +01:00
|
|
|
<<: *default
|
2017-04-04 11:43:07 +02:00
|
|
|
database: tps_test
|
|
|
|
host: localhost
|
|
|
|
username: tps_test
|
|
|
|
password: tps_test
|
2018-02-09 09:49:02 +01:00
|
|
|
|
2018-08-23 17:45:52 +02:00
|
|
|
production: &production
|
2018-02-09 09:49:02 +01:00
|
|
|
<<: *default
|
|
|
|
database: <%= ENV["DB_DATABASE"] %>
|
|
|
|
host: <%= ENV["DB_HOST"] %>
|
|
|
|
username: <%= ENV["DB_USERNAME"] %>
|
|
|
|
password: <%= ENV["DB_PASSWORD"] %>
|
2018-08-23 17:45:52 +02:00
|
|
|
|
|
|
|
# Alias for production
|
|
|
|
staging:
|
|
|
|
<<: *production
|