mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
29 lines
683 B
YAML
29 lines
683 B
YAML
|
default: &default
|
||
|
adapter: mysql2
|
||
|
encoding: utf8
|
||
|
pool: 5
|
||
|
username: root
|
||
|
password:
|
||
|
# Use this for local mysql instances
|
||
|
socket: /var/run/mysqld/mysqld.sock
|
||
|
|
||
|
# Use this for Docker
|
||
|
#host: localhost:3306
|
||
|
|
||
|
development:
|
||
|
<<: *default
|
||
|
database: commit_watcher_development
|
||
|
|
||
|
# Warning: The database defined as "test" will be erased and
|
||
|
# re-generated from your development database when you run "rake".
|
||
|
# Do not set this db to the same as development or production.
|
||
|
test:
|
||
|
<<: *default
|
||
|
database: commit_watcher_test
|
||
|
|
||
|
production:
|
||
|
<<: *default
|
||
|
username: commit_watcher
|
||
|
password: <%= ENV['COMMIT_WATCHER_DATABASE_PASSWORD'] %>
|
||
|
database: commit_watcher_production
|