Allow configuring database hostname (#241)

This commit is contained in:
B-Souty
2024-01-07 04:00:32 +13:00
committed by GitHub
parent f39a4c6eea
commit b270ad1056

View File

@@ -2,7 +2,7 @@ default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: db
host: <%= ENV.fetch("POSTGRES_HOST", "db") %>
username: <%= ENV['POSTGRES_USER'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>