From f2c2a64975c6bed38c58761863efdf9502b4e717 Mon Sep 17 00:00:00 2001 From: Thomas Parisot Date: Sat, 16 Jan 2021 18:42:59 +0100 Subject: [PATCH] Configure Instance PORT via an environment variable. --- docker/production/releases.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/production/releases.exs b/docker/production/releases.exs index d3284e0f9..f271c002f 100644 --- a/docker/production/releases.exs +++ b/docker/production/releases.exs @@ -5,7 +5,7 @@ import Config config :mobilizon, Mobilizon.Web.Endpoint, server: true, url: [host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan")], - http: [port: 4000], + http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", 4000)], secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis") config :mobilizon, Mobilizon.Web.Auth.Guardian,