1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/database.yml

28 lines
799 B
YAML
Raw Normal View History

2018-11-22 14:33:08 -05:00
default: &default
adapter: postgresql
encoding: unicode
2020-02-14 15:00:21 -05:00
pool: <%= ENV.fetch('POSTGRES_POOL') { 5 } %>
2019-08-26 11:14:47 -04:00
host: <%= ENV.fetch('POSTGRES_HOST') { 'localhost' } %>
port: <%= ENV.fetch('POSTGRES_PORT') { 5432 } %>
username: <%= ENV.fetch('POSTGRES_USER') { 'partynest' } %>
password: <%= ENV.fetch('POSTGRES_PASSWORD') { 'password' } %>
2018-11-22 15:20:06 -05:00
2018-12-08 20:36:58 -05:00
development:
2020-02-14 15:00:21 -05:00
<<: *default
2018-12-08 20:36:58 -05:00
database: <%= ENV.fetch('POSTGRES_DB') { 'partynest_development' } %>
2018-11-30 02:26:46 -05:00
test: &test
2020-02-14 15:00:21 -05:00
<<: *default
2018-11-22 15:20:06 -05:00
database: <%= ENV.fetch('POSTGRES_DB') { 'partynest_test' } %>
2018-11-22 14:33:08 -05:00
2018-11-30 02:26:46 -05:00
cucumber:
<<: *test
2018-12-08 20:31:22 -05:00
2019-10-14 23:27:32 -04:00
staging:
<<: *default
2020-02-14 15:00:21 -05:00
database: <%= ENV.fetch('POSTGRES_DB') { 'partynest_staging' } %>
2019-10-14 23:27:32 -04:00
2018-12-08 20:31:22 -05:00
production:
<<: *default
2020-02-14 15:00:21 -05:00
database: <%= ENV.fetch('POSTGRES_DB') { 'partynest_production' } %>