tabletop-companion/config/database.yml

21 lines
472 B
YAML
Raw Normal View History

2024-04-13 10:22:40 +00:00
default: &default
2024-04-13 13:13:37 +00:00
adapter: postgresql
encoding: unicode
2024-04-13 10:22:40 +00:00
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
2024-04-13 13:13:37 +00:00
host: localhost
username: <%= ENV.fetch("POSTGRES_USER") { "postgres" } %>
password: <%= ENV.fetch("POSTGRES_PASSWORD") { "postgres" } %>
2024-04-13 10:22:40 +00:00
development:
<<: *default
database: tabletop_companion_development
2024-04-13 10:22:40 +00:00
test:
<<: *default
database: tabletop_companion_test
2024-04-13 10:22:40 +00:00
production:
<<: *default
database: tabletop_companion_production