Make beta use production settings

This commit is contained in:
Daniel Schädler 2025-03-16 15:28:24 +01:00
parent 2db24d6525
commit 4b12c58af1
1 changed files with 5 additions and 1 deletions

View File

@ -20,8 +20,12 @@ test:
<<: *default <<: *default
database: db/test.sqlite3 database: db/test.sqlite3
production: production: &production
url: <%= ENV.fetch("POSTGRES_URL", nil) %> url: <%= ENV.fetch("POSTGRES_URL", nil) %>
username: <%= ENV.fetch("POSTGRES_USERNAME", nil) %> username: <%= ENV.fetch("POSTGRES_USERNAME", nil) %>
password: <%= ENV.fetch("POSTGRES_PASSWORD", nil) %> password: <%= ENV.fetch("POSTGRES_PASSWORD", nil) %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
beta:
# just use the production settings
<<: *production