r2web-ru/backend/config/database.yml

22 lines
346 B
YAML

default: &default
adapter: postgresql
encoding: unicode
adress: localhost
username: postgres
password: password
port: 5432
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
development:
<<: *default
database: development
test:
<<: *default
database: test
production:
<<: *default
database: production