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,