From 828122a5a9e9dbcf489b1a149a15eccd7de8552e Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 4 Nov 2024 14:24:52 +0100 Subject: [PATCH] auth --- docker-compose.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 294b9ce..5363252 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,21 +17,6 @@ services: - "8082:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - whoami: # TEST PURPOSE - image: traefik/whoami - container_name: whoami - networks: - - catalog - ports: - - "5000:80" - labels: - - "traefik.enable=true" - - "traefik.http.routers.whoami.entrypoints=web" - - "traefik.http.routers.whoami.rule=Host(`localhost`)" - - "traefik.routers.whoami.rule=Path(/whoami)" - - "traefik.http.routers.whoami.tls=false" - - "traefik.http.services.whoami.loadbalancer.server.port=80" - - "traefik.http.routers.whoami.middlewares=auth" oc-auth: image: 'oc-auth:latest' ports: @@ -41,7 +26,7 @@ services: - "traefik.enable=true" - "traefik.http.middlewares.auth.forwardauth.address=http://oc-auth:8080/oc/forward" - "traefik.http.middlewares.auth.forwardauth.authResponseHeaders=X-Forwarded-User" - - "traefik.http.services.auth.loadbalancer.server.port=8080" + - "traefik.http.routers.workflow.rule=PathPrefix(/auth)" environment: LDAP_ENDPOINTS: ldap:389 LDAP_BINDDN: cn=admin,dc=example,dc=com