Merge pull request #10148 from ralmn/db-port
chore: expose postgres port
This commit is contained in:
commit
9f359b4b99
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ development:
|
||||||
host: <%= ENV["DB_HOST"] %>
|
host: <%= ENV["DB_HOST"] %>
|
||||||
username: <%= ENV["DB_USERNAME"] %>
|
username: <%= ENV["DB_USERNAME"] %>
|
||||||
password: <%= ENV["DB_PASSWORD"] %>
|
password: <%= ENV["DB_PASSWORD"] %>
|
||||||
|
port: <%= ENV["DB_PORT"] || 5432 %>
|
||||||
# Workaround for https://github.com/ged/ruby-pg/issues/311
|
# Workaround for https://github.com/ged/ruby-pg/issues/311
|
||||||
gssencmode: disable
|
gssencmode: disable
|
||||||
|
|
||||||
|
@ -23,6 +24,7 @@ test:
|
||||||
host: localhost
|
host: localhost
|
||||||
username: tps_test
|
username: tps_test
|
||||||
password: tps_test
|
password: tps_test
|
||||||
|
port: <%= ENV["DB_PORT"] || 5432 %>
|
||||||
# Workaround for https://github.com/ged/ruby-pg/issues/311
|
# Workaround for https://github.com/ged/ruby-pg/issues/311
|
||||||
gssencmode: disable
|
gssencmode: disable
|
||||||
|
|
||||||
|
@ -32,3 +34,4 @@ production: &production
|
||||||
host: <%= ENV["DB_HOST"] %>
|
host: <%= ENV["DB_HOST"] %>
|
||||||
username: <%= ENV["DB_USERNAME"] %>
|
username: <%= ENV["DB_USERNAME"] %>
|
||||||
password: <%= ENV["DB_PASSWORD"] %>
|
password: <%= ENV["DB_PASSWORD"] %>
|
||||||
|
port: <%= ENV["DB_PORT"] || 5432 %>
|
||||||
|
|
|
@ -22,6 +22,7 @@ DB_HOST="localhost"
|
||||||
DB_POOL=""
|
DB_POOL=""
|
||||||
DB_USERNAME="tps_development"
|
DB_USERNAME="tps_development"
|
||||||
DB_PASSWORD="tps_development"
|
DB_PASSWORD="tps_development"
|
||||||
|
DB_PORT=5432
|
||||||
|
|
||||||
# Protect access to the instance with a static login/password (useful for staging environments)
|
# Protect access to the instance with a static login/password (useful for staging environments)
|
||||||
BASIC_AUTH_ENABLED="disabled"
|
BASIC_AUTH_ENABLED="disabled"
|
||||||
|
|
Loading…
Reference in a new issue