mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
3984ad2442
Fix bunch of things with docker and add entry.sh
24 lines
403 B
YAML
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
|