Compare commits
2 commits
b302951682
...
195b44bc6b
Author | SHA1 | Date | |
---|---|---|---|
195b44bc6b | |||
a92cf7f812 |
3 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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') }}
|
||||
|
|
|
@ -26,6 +26,8 @@ services:
|
|||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
depends_on:
|
||||
- authelia
|
||||
|
||||
######## authelia ########
|
||||
authelia:
|
||||
|
@ -51,6 +53,7 @@ services:
|
|||
traefik.http.middlewares.authelia.forwardauth.authResponseHeaders: Remote-User,Remote-Groups,Remote-Name,Remote-Email
|
||||
depends_on:
|
||||
- authelia-redis
|
||||
- authelia-db
|
||||
networks:
|
||||
- traefik
|
||||
- postfix
|
||||
|
|
Loading…
Reference in a new issue