Make it more obvious LDAPS is supported

Update example compose config showing both port and alluding to the environment variable that controls the certificates
This commit is contained in:
Mitchell Currie 2023-02-26 12:43:26 +11:00 committed by GitHub
parent 322bf26db5
commit 26593f04c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,8 @@ services:
ports: ports:
# For LDAP # For LDAP
- "3890:3890" - "3890:3890"
# For LDAPS (LDAP Over SSL) if enabled via LLDAP_LDAPS_OPTIONS__ENABLED
- "6360:6360"
# For the web front-end # For the web front-end
- "17170:17170" - "17170:17170"
volumes: volumes:
@ -131,6 +133,9 @@ services:
- LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM - LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM
- LLDAP_LDAP_USER_PASS=REPLACE_WITH_PASSWORD - LLDAP_LDAP_USER_PASS=REPLACE_WITH_PASSWORD
- LLDAP_LDAP_BASE_DN=dc=example,dc=com - LLDAP_LDAP_BASE_DN=dc=example,dc=com
# If using LDAPS, configure your cert and keys
# - LLDAP_LDAPS_OPTIONS__CERT_FILE=PATH_TO_CERT
# - LLDAP_LDAPS_OPTIONS__KEY_FILE=PATH_TO_KEY
``` ```
Then the service will listen on two ports, one for LDAP and one for the web Then the service will listen on two ports, one for LDAP and one for the web