24 lines
509 B
YAML
24 lines
509 B
YAML
default: &default
|
|
adapter: postgresql
|
|
encoding: unicode
|
|
# For details on connection pooling, see rails configuration guide
|
|
# http://guides.rubyonrails.org/configuring.html#database-pooling
|
|
pool: 5
|
|
|
|
development:
|
|
<<: *default
|
|
database: helpy_development
|
|
port: 5432
|
|
host: localhost
|
|
|
|
test:
|
|
<<: *default
|
|
database: helpy_test
|
|
|
|
production:
|
|
<<: *default
|
|
host: postgres
|
|
database: <%= ENV['POSTGRES_DB'] %>
|
|
username: <%= ENV['POSTGRES_USER'] %>
|
|
password: <%= ENV['POSTGRES_PASSWORD'] %>
|