config that works without docker
This commit is contained in:
parent
20f1afd4e6
commit
77965b65f8
1 changed files with 4 additions and 2 deletions
|
|
@ -11,14 +11,15 @@ default: &default
|
||||||
encoding: <%= encoding %>
|
encoding: <%= encoding %>
|
||||||
host: <%= ENV['OSEM_DB_HOST'] || 'database' %>
|
host: <%= ENV['OSEM_DB_HOST'] || 'database' %>
|
||||||
port: <%= ENV['OSEM_DB_PORT'] || '5432' %>
|
port: <%= ENV['OSEM_DB_PORT'] || '5432' %>
|
||||||
username: <%= ENV['OSEM_DB_USER'] || 'postgres' %>
|
# username: <%= ENV['OSEM_DB_USER'] || 'postgres' %>
|
||||||
password: <%= ENV['OSEM_DB_PASSWORD'] || 'mysecretpassword' %>
|
# password: <%= ENV['OSEM_DB_PASSWORD'] || 'mysecretpassword' %>
|
||||||
database: <%= ENV['OSEM_DB_NAME'] || 'postgres' %>
|
database: <%= ENV['OSEM_DB_NAME'] || 'postgres' %>
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *default
|
<<: *default
|
||||||
|
host: localhost
|
||||||
database: osem_development
|
database: osem_development
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
# 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.
|
# Do not set this db to the same as development or production.
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
|
host: localhost
|
||||||
database: osem_test
|
database: osem_test
|
||||||
|
|
||||||
production:
|
production:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue