2014-03-23 00:22:25 +00:00
|
|
|
base: &db
|
|
|
|
adapter: mysql2
|
|
|
|
encoding: utf8
|
2018-04-14 13:02:58 +00:00
|
|
|
host: <%= ENV['MYSQL_HOST'] %>
|
2014-03-26 11:12:00 +00:00
|
|
|
database: <%= ENV['MYSQL_DATABASE'] %>
|
2014-03-23 00:22:25 +00:00
|
|
|
username: <%= ENV['MYSQL_USERNAME'] %>
|
|
|
|
password: <%= ENV['MYSQL_PASSWORD'] %>
|
2014-03-30 19:50:52 +00:00
|
|
|
pool: <%= Integer(ENV['MYSQL_CONNECTION_POOL'] || 8) %>
|
2015-06-11 15:18:51 +00:00
|
|
|
wait_timeout: 90
|
2015-05-26 17:06:40 +00:00
|
|
|
reconnect: true
|
|
|
|
|
2014-03-23 00:22:25 +00:00
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *db
|
|
|
|
|
|
|
|
test:
|
|
|
|
<<: *db
|
|
|
|
database: ensl_test
|
|
|
|
|
|
|
|
staging:
|
|
|
|
<<: *db
|
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *db
|