mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
chore: add ability to change DB_PORT from standard 5432 (#480)
This commit is contained in:
parent
971347c761
commit
fd8ce1b32a
2 changed files with 2 additions and 0 deletions
|
@ -26,5 +26,6 @@ TLS=true
|
|||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_USER=postgres
|
|
@ -19,6 +19,7 @@ default: &default
|
|||
# https://guides.rubyonrails.org/configuring.html#database-pooling
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
host: <%= ENV.fetch("DB_HOST") { "127.0.0.1" } %>
|
||||
port: <%= ENV.fetch("DB_PORT") { "5432" } %>
|
||||
password: <%= ENV.fetch("POSTGRES_PASSWORD") { nil } %>
|
||||
user: <%= ENV.fetch("POSTGRES_USER") { nil } %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue