From 53782bf6e6c6877ea9b2b335979379afa2d1b5ae Mon Sep 17 00:00:00 2001 From: oscar Date: Tue, 11 Apr 2023 13:59:30 +0000 Subject: [PATCH] Add env var to use SSL when connection to DB --- config/docker.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/docker.exs b/config/docker.exs index ec5ffb99..77cbd893 100644 --- a/config/docker.exs +++ b/config/docker.exs @@ -40,6 +40,7 @@ config :mobilizon, Mobilizon.Storage.Repo, database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon"), hostname: System.get_env("MOBILIZON_DATABASE_HOST", "postgres"), port: System.get_env("MOBILIZON_DATABASE_PORT", "5432"), + ssl: System.get_env("MOBILIZON_DATABASE_SSL", false), pool_size: 10 config :mobilizon, Mobilizon.Web.Email.Mailer,