Add LLDAP support

This commit is contained in:
Colin Hebert
2024-08-25 18:17:46 +10:00
parent cdf61a0e4d
commit 908673295a

View File

@@ -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