From a4856969f4d766cb92bea0c783e3a7aad48ed939 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 21 Jun 2021 19:19:06 +0200 Subject: [PATCH] outposts: fix port and inner_port being mixed on docker controller Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index 5a3c45c57..c85276471 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -66,7 +66,7 @@ class DockerController(BaseController): "name": container_name, "detach": True, "ports": { - f"{port.port}/{port.protocol.lower()}": port.inner_port or port.port + f"{port.inner_port or port.port}/{port.protocol.lower()}": port.port for port in self.deployment_ports }, "environment": self._get_env(),