From 10acbbfd24dfbebde7203939e33f6452cadac6a7 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Sat, 11 Jan 2025 11:30:46 -0800 Subject: [PATCH] use DATABASE_PASSWORD env --- services/bright/config/dev.exs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/bright/config/dev.exs b/services/bright/config/dev.exs index 9405361..a7864cf 100644 --- a/services/bright/config/dev.exs +++ b/services/bright/config/dev.exs @@ -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