1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-23 08:22:50 +00:00

Add env var to use SSL when connection to DB

This commit is contained in:
oscar 2023-04-11 13:59:30 +00:00
parent ef1b0ed2dd
commit 53782bf6e6

View file

@ -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,