follow traefik migration
This commit is contained in:
parent
a39f2aa8c1
commit
fa1d133ad7
18
compose.yml
18
compose.yml
@ -37,6 +37,22 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./media:/media
|
- ./media:/media
|
||||||
- ./custom-templates:/templates
|
- ./custom-templates:/templates
|
||||||
|
labels:
|
||||||
|
traefik.enable: true
|
||||||
|
traefik.http.routers.authentik.rule: "Host(`authentik.urmel.de`)"
|
||||||
|
traefik.http.routers.authentik.tls: true
|
||||||
|
traefik.http.routers.authentik.tls.certresolver: hetzner
|
||||||
|
traefik.http.routers.authentik.priority: 10
|
||||||
|
traefik.http.routers.authentik.service: authentik
|
||||||
|
traefik.http.services.authentik.loadbalancer.server.port: 9000
|
||||||
|
|
||||||
|
# https://goneuland.de/authentik-in-kombination-mit-traefik/#2_Authentik_im_Stack_vorbereiten
|
||||||
|
traefik.http.routers.authentik-outpost.rule: "HostRegexp(`{subdomain:[a-z0-9-]+.}urmel.de`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
||||||
|
traefik.http.routers.authentik-outpost.tls: true
|
||||||
|
traefik.http.routers.authentik-outpost.priority: 15
|
||||||
|
traefik.http.routers.authentik-outpost.service: authentik-outpost
|
||||||
|
traefik.http.services.authentik-outpost.loadbalancer.server.port: 9000
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
command: worker
|
command: worker
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -60,7 +76,7 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
name: nginx-proxy_default
|
name: traefik_exposed
|
||||||
external: true
|
external: true
|
||||||
internal:
|
internal:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user