From 74ea269c3ddd7746b6841915865175c92ee096b9 Mon Sep 17 00:00:00 2001 From: Tom Kendrick Date: Mon, 5 Jan 2026 23:21:35 +0000 Subject: [PATCH] feat: add labels --- access_management/void/docker-compose.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/access_management/void/docker-compose.yml b/access_management/void/docker-compose.yml index 7502f2c..399e4cc 100644 --- a/access_management/void/docker-compose.yml +++ b/access_management/void/docker-compose.yml @@ -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