ensl.org/config/database.yml
Ari Timonen 4a8bd8ee7d Update ensl.org for docker version
Create docker version
- Remove rubyracer, use nodejs
- Add Makefile and fig.yml examples
- Update to v2 circle.yml sample
- Create Dockerfile
- Do not use nested folders in tmp for puma
2018-04-10 01:08:38 +00:00

24 lines
419 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

base: &db
adapter: mysql2
encoding: utf8
host: <%= ENV['MYSQL_HOST'] || 'localhost' %>
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