This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
2018-05-07 16:06:01 -04:00
|
|
|
default: &default
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
2018-06-14 14:22:19 -04:00
|
|
|
adapter: sqlite3
|
2018-05-07 16:06:01 -04:00
|
|
|
database: db/development.sqlite3
|
|
|
|
|
|
|
|
test:
|
|
|
|
<<: *default
|
2018-06-14 14:22:19 -04:00
|
|
|
adapter: sqlite3
|
2019-04-05 14:54:36 -04:00
|
|
|
database: db/test.sqlite3
|
2018-05-07 16:06:01 -04:00
|
|
|
|
2019-04-05 14:54:36 -04:00
|
|
|
# Use sqlite in production by default. Greenlight supports
|
2018-05-07 16:06:01 -04:00
|
|
|
production:
|
|
|
|
<<: *default
|
2018-06-15 11:24:10 -04:00
|
|
|
adapter: <%= ENV['DB_ADAPTER'] || 'sqlite3' %>
|
|
|
|
host: <%= ENV['DB_HOST'] %>
|
|
|
|
database: <%= ENV['DB_NAME'] || 'db/production/production.sqlite3' %>
|
|
|
|
username: <%= ENV['DB_USERNAME'] %>
|
|
|
|
password: <%= ENV['DB_PASSWORD'] %>
|