From 27bd5e8e6f3ea53f735e4edb15fee4e594966f98 Mon Sep 17 00:00:00 2001
From: Thomas Parisot <hi@oncletom.io>
Date: Tue, 19 Jan 2021 10:19:22 +0100
Subject: [PATCH] fix: adjust to `System.get_env` signature
 (`get_env(String.t(), String.t() | nil)`)

---
 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 f271c002f..b4cd218c2 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: System.get_env("MOBILIZON_INSTANCE_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,