From b4a0874debe348888745211f1fece0d3865d61f9 Mon Sep 17 00:00:00 2001 From: il Date: Tue, 14 Apr 2026 07:43:12 +0900 Subject: [PATCH] refactor(authelia): fix publish port from hardcoded number to variable --- .../services/containers/auth/authelia/config/authelia.yaml.j2 | 2 +- config/services/containers/common/caddy/etc/auth/Caddyfile.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/services/containers/auth/authelia/config/authelia.yaml.j2 b/config/services/containers/auth/authelia/config/authelia.yaml.j2 index 494d3ec..f378de7 100644 --- a/config/services/containers/auth/authelia/config/authelia.yaml.j2 +++ b/config/services/containers/auth/authelia/config/authelia.yaml.j2 @@ -10,7 +10,7 @@ theme: 'auto' # Server configuration server: # TLS will be applied on caddy - address: 'tcp://:9091/' + address: 'tcp://:{{ services['authelia']['ports']['http'] }}/' # Log configuration log: diff --git a/config/services/containers/common/caddy/etc/auth/Caddyfile.j2 b/config/services/containers/common/caddy/etc/auth/Caddyfile.j2 index b01e762..250be10 100644 --- a/config/services/containers/common/caddy/etc/auth/Caddyfile.j2 +++ b/config/services/containers/common/caddy/etc/auth/Caddyfile.j2 @@ -39,7 +39,7 @@ import crowdsec_log route { crowdsec - reverse_proxy host.containers.internal:9091 + reverse_proxy host.containers.internal:{{ services['authelia']['ports']['http'] }} } } # test.ilnmors.com {