tabletop-companion/config/database.yml

21 lines
472 B
YAML

default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
host: localhost
username: <%= ENV.fetch("POSTGRES_USER") { "postgres" } %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { "postgres" } %>
development:
<<: *default
database: tabletop_companion_development
test:
<<: *default
database: tabletop_companion_test
production:
<<: *default
database: tabletop_companion_production