diff --git a/config/database.yml b/config/database.yml index 10b3b8a1eb..99ed20078d 100644 --- a/config/database.yml +++ b/config/database.yml @@ -2,7 +2,7 @@ defaults: &defaults adapter: postgresql encoding: unicode pool: 5 - host: localhost + host: <%= ENV.fetch('OFN_DB_HOST', 'localhost') %> username: <%= ENV.fetch('OFN_DB_USERNAME', 'ofn') %> password: <%= ENV.fetch('OFN_DB_PASSWORD', 'f00d') %>