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'] %>
|
2020-04-05 02:58:41 +00:00
|
|
|
username: <%= ENV['MYSQL_USER'] %>
|
2014-03-23 00:22:25 +00:00
|
|
|
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
|
|
|
|
|
2020-04-02 19:50:57 +00:00
|
|
|
staging:
|
|
|
|
<<: *db
|
|
|
|
|
2014-03-23 00:22:25 +00:00
|
|
|
test:
|
|
|
|
<<: *db
|
|
|
|
database: ensl_test
|
|
|
|
|
|
|
|
staging:
|
|
|
|
<<: *db
|
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *db
|