config that works without docker

This commit is contained in:
Michael Ball 2020-07-10 18:29:46 -07:00
parent 20f1afd4e6
commit 77965b65f8

View file

@ -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: