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-06-19 10:16:56 +00:00
|
|
|
host: <%= ENV.fetch("DB_HOST") { "localhost" } %>
|
2024-04-13 13:13:37 +00:00
|
|
|
username: <%= ENV.fetch("POSTGRES_USER") { "postgres" } %>
|
2024-04-13 10:22:40 +00:00
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *default
|
2024-05-26 08:06:27 +00:00
|
|
|
database: tabletop_companion_development
|
2024-06-19 17:22:20 +00:00
|
|
|
password: postgres
|
2024-04-13 10:22:40 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
<<: *default
|
2024-05-26 08:06:27 +00:00
|
|
|
database: tabletop_companion_test
|
2024-06-19 17:22:20 +00:00
|
|
|
password: postgres
|
2024-04-13 10:22:40 +00:00
|
|
|
|
|
|
|
production:
|
|
|
|
<<: *default
|
2024-05-26 08:06:27 +00:00
|
|
|
database: tabletop_companion_production
|
2024-06-19 17:22:20 +00:00
|
|
|
password: <%= ENV.fetch("POSTGRES_PASSWORD") { "postgres" } %>
|