chore: expose postgres port

This commit is contained in:
Mathieu HIREL 2024-03-19 08:26:27 +01:00 committed by Colin Darie
parent 241da41c4c
commit bc0c068ed7
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@ development:
host: <%= ENV["DB_HOST"] %>
username: <%= ENV["DB_USERNAME"] %>
password: <%= ENV["DB_PASSWORD"] %>
port: <%= ENV["DB_PORT"] || 5432 %>
# Workaround for https://github.com/ged/ruby-pg/issues/311
gssencmode: disable
@ -23,6 +24,7 @@ test:
host: localhost
username: tps_test
password: tps_test
port: <%= ENV["DB_PORT"] || 5432 %>
# Workaround for https://github.com/ged/ruby-pg/issues/311
gssencmode: disable
@ -32,3 +34,4 @@ production: &production
host: <%= ENV["DB_HOST"] %>
username: <%= ENV["DB_USERNAME"] %>
password: <%= ENV["DB_PASSWORD"] %>
port: <%= ENV["DB_PORT"] || 5432 %>

View file

@ -22,6 +22,7 @@ DB_HOST="localhost"
DB_POOL=""
DB_USERNAME="tps_development"
DB_PASSWORD="tps_development"
DB_PORT=5432
# Protect access to the instance with a static login/password (useful for staging environments)
BASIC_AUTH_ENABLED="disabled"