use DATABASE_PASSWORD env

This commit is contained in:
CJ_Clippy 2025-01-11 11:30:46 -08:00
parent 8b90651a18
commit 10acbbfd24
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,10 @@ import Config
# Configure the database
config :bright, Bright.Repo,
url: "#{System.get_env("DATABASE_URL")}",
username: "postgres",
password: "#{System.get_env("DATABASE_PASSWORD")}",
hostname: "futureporn-db",
database: "bright",
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10