mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Get production database config from environment variables
This commit is contained in:
parent
9d810b3d2e
commit
68fdc5e618
@ -22,4 +22,8 @@ test:
|
||||
|
||||
production:
|
||||
<<: *default
|
||||
database: db/production.sqlite3
|
||||
adapter: mysql2
|
||||
encoding: utf8
|
||||
database: <%= ENV['DATABASE_NAME'] %>
|
||||
username: <%= ENV['DATABASE_USERNAME'] %>
|
||||
password: <%= ENV['DATABASE_PASSWORD'] %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user