Allow to specify database port for Docker configuration

Closes #1193

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-21 11:05:19 +01:00
parent 670dd7ac21
commit d861689970
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -39,7 +39,7 @@ config :mobilizon, Mobilizon.Storage.Repo,
password: System.get_env("MOBILIZON_DATABASE_PASSWORD", "password"),
database: System.get_env("MOBILIZON_DATABASE_DBNAME", "mobilizon"),
hostname: System.get_env("MOBILIZON_DATABASE_HOST", "postgres"),
port: 5432,
port: System.get_env("MOBILIZON_DATABASE_PORT", 5432),
pool_size: 10
config :mobilizon, Mobilizon.Web.Email.Mailer,