Add env var to use SSL when connection to DB
This commit is contained in:
parent
ef1b0ed2dd
commit
53782bf6e6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user