Merge branch 'ohemelaar-main-patch-31786' into 'main'
Add env var to use SSL when connection to DB Closes #1282 See merge request framasoft/mobilizon!1373
This commit is contained in:
commit
7753e4991d
|
@ -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") == "true",
|
||||
pool_size: 10
|
||||
|
||||
config :mobilizon, Mobilizon.Web.Email.Mailer,
|
||||
|
|
Loading…
Reference in a new issue