update user and ports
This commit is contained in:
@@ -5,15 +5,15 @@ services:
|
||||
hostname: "lldap"
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
UID: "10001"
|
||||
GID: "10001"
|
||||
UID: "2003"
|
||||
GID: "2003"
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "/data/docker/lldap-prod-3/data:/data:rw"
|
||||
#- "/data/docker/lldap-prod-1/ssl:/ssl:ro"
|
||||
ports:
|
||||
- "127.0.0.1:3890:3890"
|
||||
- "10.0.0.1:17170:17170"
|
||||
- "10.0.0.1:2003:17170"
|
||||
networks:
|
||||
lldap-authelia:
|
||||
labels:
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
container_name: "Authelia"
|
||||
hostname: "authelia"
|
||||
restart: "unless-stopped"
|
||||
user: "10002:10002"
|
||||
user: "2004:2004"
|
||||
depends_on:
|
||||
- "lldap"
|
||||
volumes:
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
- "/data/docker/authelia-prod-3/config/:/config:rw"
|
||||
- "/data/docker/authelia-prod-3/data/:/data:rw"
|
||||
ports:
|
||||
- "127.0.0.1:9091:9091"
|
||||
- "127.0.0.1:2004:9091"
|
||||
networks:
|
||||
lldap-authelia:
|
||||
labels:
|
||||
@@ -49,7 +49,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://127.0.0.1:9091/api/authz/forward-auth'
|
||||
- 'traefik.http.middlewares.authelia.forwardAuth.address=http://127.0.0.1:2004/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'
|
||||
|
||||
Reference in New Issue
Block a user