diff --git a/docker-compose.yml b/docker-compose.yml index ed43a6b..49aa2a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,6 +41,8 @@ services: - "/etc/localtime:/etc/localtime:ro" - "/data/docker/authelia-prod-3/config/:/config:rw" - "/data/docker/authelia-prod-3/data/:/data:rw" + ports: + - "127.0.0.1:9091:9091" networks: lldap-authelia: labels: @@ -50,7 +52,7 @@ services: - "traefik.http.routers.authelia.tls.certresolver=letsencrypt" - "traefik.http.services.authelia.loadbalancer.server.port=9091" - "traefik.http.services.authelia.loadbalancer.server.scheme=http" - - 'traefik.http.middlewares.authelia.forwardAuth.address=http://10.2.4.2:9091/api/authz/forward-auth' + - 'traefik.http.middlewares.authelia.forwardAuth.address=http://127.0.0.1:9091/api/authz/forward-auth' - 'traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true' - "traefik.http.middlewares.authelia.forwardauth.tls.insecureSkipVerify=true" - 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Email,Remote-Name'