forked from srcclr/commit-watcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.yml
32 lines (27 loc) · 869 Bytes
/
database.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
default: &default
adapter: mysql2
encoding: utf8
pool: 5
username: commit_watcher
password: changeme123
# Use this for local mysql instances
# socket: /tmp/mysql.sock
# Use this for Docker
host: db
# Use this for External RDS
#host: <%= ENV['COMMIT_WATCHER_EXTERNAL_DATABASE_URL'] %>
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: <%= ENV['COMMIT_WATCHER_DATABASE_USER'] %>
password: <%= ENV['COMMIT_WATCHER_DATABASE_PASSWORD'] %>
database: <%= ENV['COMMIT_WATCHER_DATABASE_NAME'] %>
host: <%= ENV['COMMIT_WATCHER_DATABASE_HOST'] %>