feat: add labels
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
services:
|
||||
# ---------------------------------
|
||||
# Your reverse-proxy service here:
|
||||
# caddy, traefik, nginx, etc.
|
||||
# ---------------------------------
|
||||
|
||||
voidauth:
|
||||
image: voidauth/voidauth:latest
|
||||
restart: unless-stopped
|
||||
@@ -12,6 +7,14 @@ services:
|
||||
depends_on:
|
||||
voidauth-db:
|
||||
condition: service_healthy
|
||||
labels:
|
||||
traefik.enable: 'true'
|
||||
traefik.http.routers.voidauth.rule: "Host(`auth.${DOMAIN}`)"
|
||||
traefik.http.routers.voidauth.entryPoints: 'https'
|
||||
traefik.http.routers.voidauth.tls: 'true'
|
||||
traefik.http.middlewares.voidauth.forwardAuth.address: 'http://voidauth:3000/api/authz/forward-auth'
|
||||
traefik.http.middlewares.voidauth.forwardAuth.trustForwardHeader: 'true'
|
||||
traefik.http.middlewares.voidauth.forwardAuth.authResponseHeaders: 'Remote-User,Remote-Name,Remote-Email,Remote-Groups'
|
||||
|
||||
voidauth-db:
|
||||
image: postgres:18
|
||||
|
||||
Reference in New Issue
Block a user