From a92cf7f812066bac1574b25917ad63ffdfbc9909 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 10 Nov 2024 16:56:15 +0100 Subject: [PATCH] gfdff --- docker-compose/registry/docker-compose.yml.j2 | 2 +- docker-compose/traefik/configuration.yml.j2 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose/registry/docker-compose.yml.j2 b/docker-compose/registry/docker-compose.yml.j2 index a68c659d..0e98a86e 100644 --- a/docker-compose/registry/docker-compose.yml.j2 +++ b/docker-compose/registry/docker-compose.yml.j2 @@ -92,7 +92,7 @@ services: retries: 3 labels: traefik.http.routers.registry-ui.rule: Host(`registry.mgrote.net`)&&PathPrefix(`/ui`) # mache unter /ui erreichbar, damit wird demPfad dieser Prefix hinzugefügt, die Anwendung "hört" dort abrer nicht - traefik.http.routers.registry-ui.middlewares: registry-ui-strip-prefix,registry-ui-ipallowlist,authelia # also entferne den Prefix danach wieder + traefik.http.routers.registry-ui.middlewares: authelia,registry-ui-strip-prefix,registry-ui-ipallowlist # also entferne den Prefix danach wieder traefik.http.middlewares.registry-ui-strip-prefix.stripprefix.prefixes: /ui # hier ist die Middleware definiert traefik.enable: true traefik.http.routers.registry-ui.tls: true diff --git a/docker-compose/traefik/configuration.yml.j2 b/docker-compose/traefik/configuration.yml.j2 index 8cf9c6a4..c9f41070 100644 --- a/docker-compose/traefik/configuration.yml.j2 +++ b/docker-compose/traefik/configuration.yml.j2 @@ -23,6 +23,7 @@ access_control: policy: one_factor subject: - 'group:authelia_registry-ui' + session: name: authelia_session secret: {{ lookup('viczem.keepass.keepass', 'authelia/authelia_session_secret', 'password') }}