Skip to content

Commit fa970e4

Browse files
mwtrewzetter-rpf
authored andcommitted
Make Postgres port configurable
1 parent df41adb commit fa970e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/database.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ default: &default
22
adapter: postgresql
33
encoding: unicode
44
host: <%= ENV.fetch('POSTGRES_HOST', 'db') %>
5+
port: <%= ENV.fetch('POSTGRES_PORT', '5432') %>
56
username: <%= ENV.fetch('POSTGRES_USER', 'no_pg_user_set') %>
67
password: <%= ENV.fetch('POSTGRES_PASSWORD', '') %>
78
pool: <%= ENV.fetch('RAILS_MAX_THREADS', 5) %>

0 commit comments

Comments
 (0)