upt playbook

This commit is contained in:
jaydee
2023-09-14 19:11:40 +02:00
parent ac2e2c2446
commit ab6372e661

View File

@ -10,7 +10,7 @@ services:
- LDAP_SKIP_DEFAULT_TREE=yes
- LDAP_ROOT=dc=sectorq,dc=eu
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=l4c1j4yd33Du5lo
- LDAP_ADMIN_PASSWORD=/run/secrets/ldap_admin_password
- LDAP_USERS=test
- LDAP_PASSWORDS=q
- LDAP_GROUP=group
@ -18,14 +18,20 @@ services:
#- LDAP_CUSTOM_LDIF_DIR=/ldifs
- LDAP_CONFIG_ADMIN_ENABLED=yes
- LDAP_CONFIG_ADMIN_USERNAME=admin
- LDAP_CONFIG_ADMIN_PASSWORD=l4c1j4yd33Du5lo
- LDAP_CONFIG_ADMIN_PASSWORD=/run/secrets/ldap_config_password
#- LDAP_CUSTOM_SCHEMA_FILE=/custom/00-custom.ldif
- LDAP_ENABLE_TLS
#- LDAP_ENABLE_TLS
secrets:
- ldap_config_password
- ldap_admin_password
volumes:
- '/share/docker_data/openldap/data:/bitnami/openldap'
- '/share/docker_data/openldap/ldifs:/ldifs'
- '/share/docker_data/openldap/custom2:/custom'
- '/share/docker_data/openldap/custom:/custom'
network_mode: bridge
secrets:
ldap_config_password:
file: "openldap/.env/ldap_config_password"
ldap_admin_password:
file: "openldap/.env/ldap_admin_password"