ensl.org/config/database.yml
Ari Timonen 11fcea3259 Add docker dev version
Add env and docker files for development

Fix some random things related to rails upgrade
2019-09-24 22:55:34 +03:00

24 lines
403 B
YAML

base: &db
adapter: mysql2
encoding: utf8
host: <%= ENV['MYSQL_HOST'] %>
database: <%= ENV['MYSQL_DATABASE'] %>
username: <%= ENV['MYSQL_USERNAME'] %>
password: <%= ENV['MYSQL_PASSWORD'] %>
pool: <%= Integer(ENV['MYSQL_CONNECTION_POOL'] || 8) %>
wait_timeout: 90
reconnect: true
development:
<<: *db
test:
<<: *db
database: ensl_test
staging:
<<: *db
production:
<<: *db