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