From 77965b65f8aa4c1b145fc0a358ea0077e1dd5d4f Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Fri, 10 Jul 2020 18:29:46 -0700 Subject: [PATCH] config that works without docker --- config/database.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/database.yml b/config/database.yml index dd8ac693..77437363 100644 --- a/config/database.yml +++ b/config/database.yml @@ -11,14 +11,15 @@ default: &default encoding: <%= encoding %> host: <%= ENV['OSEM_DB_HOST'] || 'database' %> port: <%= ENV['OSEM_DB_PORT'] || '5432' %> - username: <%= ENV['OSEM_DB_USER'] || 'postgres' %> - password: <%= ENV['OSEM_DB_PASSWORD'] || 'mysecretpassword' %> + # username: <%= ENV['OSEM_DB_USER'] || 'postgres' %> + # password: <%= ENV['OSEM_DB_PASSWORD'] || 'mysecretpassword' %> database: <%= ENV['OSEM_DB_NAME'] || 'postgres' %> pool: 5 timeout: 5000 development: <<: *default + host: localhost database: osem_development # Warning: The database defined as "test" will be erased and @@ -26,6 +27,7 @@ development: # Do not set this db to the same as development or production. test: <<: *default + host: localhost database: osem_test production: