mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Add prefixes to ENV vars
This commit is contained in:
@@ -3,8 +3,8 @@ defaults: &defaults
|
||||
encoding: unicode
|
||||
pool: 5
|
||||
host: localhost
|
||||
username: <%= ENV.fetch('DB_USERNAME', 'ofn') %>
|
||||
password: <%= ENV.fetch('DB_PASSWORD', 'f00d') %>
|
||||
username: <%= ENV.fetch('OFN_DB_USERNAME', 'ofn') %>
|
||||
password: <%= ENV.fetch('OFN_DB_PASSWORD', 'f00d') %>
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
Reference in New Issue
Block a user