30 lines
762 B
Cheetah
30 lines
762 B
Cheetah
# For staging & production environments, copy this file to database.yml
|
|
# For development & test environments, you can use this file OR config/database.yml.default
|
|
|
|
default: &default
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
pool: 25
|
|
username: <%= ENV["POSTGRES_USERNAME"] %>
|
|
password: {{ secret "db_password"}}
|
|
host: <%= ENV["POSTGRES_HOST"] %>
|
|
|
|
development:
|
|
<<: *default
|
|
database: fablab_development
|
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
# re-generated from your development database when you run "rails".
|
|
# Do not set this db to the same as development or production.
|
|
test:
|
|
<<: *default
|
|
database: fablab_test
|
|
|
|
staging:
|
|
<<: *default
|
|
database: fablab_staging
|
|
|
|
|
|
production:
|
|
<<: *default
|
|
database: fablab_production |