Compare commits
2 commits
fcebd87e3a
...
b2b2d2e58f
Author | SHA1 | Date | |
---|---|---|---|
b2b2d2e58f | |||
eadf846768 |
2 changed files with 4 additions and 2 deletions
|
@ -103,10 +103,12 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- app-ldap:/var/www/html
|
- app-ldap:/var/www/html
|
||||||
- data-ldap:/var/www/html/data
|
- data-ldap:/var/www/html/data
|
||||||
# hook-script nach install welches die ldap-config setzt
|
# hook-script nach install welches die ldap-config setzt, je einmal nach install und vor starten
|
||||||
- ./ldap.sh:/docker-entrypoint-hooks.d/post-installation/ldap.sh
|
- ./ldap.sh:/docker-entrypoint-hooks.d/post-installation/ldap.sh
|
||||||
|
- ./ldap.sh:/docker-entrypoint-hooks.d/before-starting/ldap.sh
|
||||||
# weitere scripte
|
# weitere scripte
|
||||||
- ./misc.sh:/docker-entrypoint-hooks.d/post-installation/misc.sh
|
- ./misc.sh:/docker-entrypoint-hooks.d/post-installation/misc.sh
|
||||||
|
- ./misc.sh:/docker-entrypoint-hooks.d/before-starting/misc.sh
|
||||||
networks:
|
networks:
|
||||||
- intern
|
- intern
|
||||||
- traefik
|
- traefik
|
||||||
|
|
|
@ -15,7 +15,7 @@ php occ ldap:set-config s01 ldapPort 3890
|
||||||
# EDIT: admin user
|
# EDIT: admin user
|
||||||
php occ ldap:set-config s01 ldapAgentName "uid=nextcloud_bind_user,ou=people,dc=mgrote,dc=net"
|
php occ ldap:set-config s01 ldapAgentName "uid=nextcloud_bind_user,ou=people,dc=mgrote,dc=net"
|
||||||
# EDIT: password
|
# EDIT: password
|
||||||
php occ ldap:set-config s01 ldapAgentPassword "{{ lookup('keepass', 'nextcloud_lldap_bind_user_pass', 'password') }}"
|
php occ ldap:set-config s01 ldapAgentPassword "{{ lookup('keepass', 'nextcloud_lldap_bind_user_pass', 'password') }}dsgdg"
|
||||||
# EDIT: Base DN
|
# EDIT: Base DN
|
||||||
php occ ldap:set-config s01 ldapBase "dc=mgrote,dc=net"
|
php occ ldap:set-config s01 ldapBase "dc=mgrote,dc=net"
|
||||||
php occ ldap:set-config s01 ldapBaseUsers "dc=mgrote,dc=net"
|
php occ ldap:set-config s01 ldapBaseUsers "dc=mgrote,dc=net"
|
||||||
|
|
Loading…
Reference in a new issue