20 lines
No EOL
513 B
YAML
20 lines
No EOL
513 B
YAML
default: &default
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
|
host: <%= ENV.fetch("DATABASE_HOST", "localhost") %>
|
|
port: <%= ENV.fetch("DATABASE_PORT", 5432) %>
|
|
username: <%= ENV.fetch("DATABASE_USER", "postgres") %>
|
|
password: <%= ENV.fetch("DATABASE_PASSWORD", "password") %>
|
|
|
|
development:
|
|
<<: *default
|
|
database: price_point_development
|
|
|
|
test:
|
|
<<: *default
|
|
database: price_point_test
|
|
|
|
production:
|
|
<<: *default
|
|
database: price_point_production |