Add LLDAP support
This commit is contained in:
@@ -18,6 +18,7 @@ services:
|
||||
TEMPLATE_NASCOMPOSE_DOMAIN: ${NASCOMPOSE_DOMAIN?}
|
||||
networks:
|
||||
- reverse-proxy
|
||||
- default
|
||||
volumes:
|
||||
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/authelia_config/:/config/
|
||||
# Configuration
|
||||
@@ -32,6 +33,25 @@ services:
|
||||
labels:
|
||||
traefik.enable: true
|
||||
|
||||
lldap:
|
||||
image: lldap/lldap
|
||||
environment:
|
||||
UID: ${NASCOMPOSE_UID?}
|
||||
GID: ${NASCOMPOSE_GID?}
|
||||
LLDAP_JWT_SECRET_FILE: /run/secrets/lldap_jwt_secret
|
||||
LLDAP_KEY_SEED_FILE: /run/secrets/lldap_key_seed
|
||||
LLDAP_LDAP_BASE_DN: ${NASCOMPOSE_GID?}
|
||||
networks:
|
||||
- reverse-proxy
|
||||
- default
|
||||
volumes:
|
||||
- ${NASCOMPOSE_SERVICES?}/authentication/volumes/lldap_data:/data
|
||||
# Secrets
|
||||
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_jwt_secret:/run/secrets/lldap_jwt_secret:ro
|
||||
- ${NASCOMPOSE_SERVICES?}/authentication/secrets/lldap_key_seed:/run/secrets/lldap_key_seed:ro
|
||||
labels:
|
||||
traefik.enable: true
|
||||
|
||||
networks:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user