mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
Added more hints for ldap
This commit is contained in:
parent
99f9c0e3b1
commit
299510f6ec
@ -4,3 +4,4 @@ Draft role for an LDAP implementation with sso.
|
|||||||
- [ChatGPT Conversation](https://chat.openai.com/share/77919994-5d44-4a64-877d-b572d67483d4)
|
- [ChatGPT Conversation](https://chat.openai.com/share/77919994-5d44-4a64-877d-b572d67483d4)
|
||||||
- [Discouse Documentation](https://forum.veen.world/t/cymais-ldap-implementierung-documentation/49)
|
- [Discouse Documentation](https://forum.veen.world/t/cymais-ldap-implementierung-documentation/49)
|
||||||
- [Setup Guide](https://goneuland.de/ldap-nextcloud-und-mailserver-in-docker/)
|
- [Setup Guide](https://goneuland.de/ldap-nextcloud-und-mailserver-in-docker/)
|
||||||
|
- https://hub.docker.com/r/bitnami/openldap
|
@ -1,24 +1,36 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
my-network:
|
||||||
|
driver: bridge
|
||||||
services:
|
services:
|
||||||
openldap:
|
openldap:
|
||||||
image: osixia/openldap:1.2.4
|
image: bitnami/openldap:2
|
||||||
environment:
|
|
||||||
- LDAP_ORGANISATION=MeineFirma
|
|
||||||
- LDAP_DOMAIN=meinefirma.de
|
|
||||||
- LDAP_ADMIN_PASSWORD=admin
|
|
||||||
ports:
|
ports:
|
||||||
- "389:389"
|
- '389:1389'
|
||||||
- "636:636"
|
- '636:1636'
|
||||||
volumes:
|
environment:
|
||||||
- ./ldap:/var/lib/ldap
|
- LDAP_ADMIN_USERNAME=admin
|
||||||
- ./ldap-slapd:/etc/ldap/slapd.d
|
- LDAP_ADMIN_PASSWORD=adminpassword
|
||||||
|
- LDAP_USERS=user01,user02 # Comma separated list of LDAP users to create in the default LDAP tree. Default: user01,user02
|
||||||
|
- LDAP_PASSWORDS=password1,password2 #Comma separated list of passwords to use for LDAP users. Default: bitnami1,bitnami2
|
||||||
|
|
||||||
keycloak:
|
- LDAP_ROOT=dc=example,dc=org
|
||||||
image: jboss/keycloak:latest
|
- LDAP_ADMIN_DN=cn=admin,dc=example,dc=org
|
||||||
environment:
|
|
||||||
- KEYCLOAK_USER=admin
|
- MARIADB_ROOT_PASSWORD=root-password
|
||||||
- KEYCLOAK_PASSWORD=admin
|
- MARIADB_GALERA_MARIABACKUP_PASSWORD=backup-password
|
||||||
- DB_VENDOR=h2
|
- MARIADB_USER=customuser
|
||||||
ports:
|
- MARIADB_DATABASE=customdatabase
|
||||||
- "8080:8080"
|
- MARIADB_ENABLE_LDAP=yes
|
||||||
depends_on:
|
networks:
|
||||||
- openldap
|
- my-network
|
||||||
|
volumes:
|
||||||
|
- 'openldap_data:/bitnami/openldap'
|
||||||
|
myapp:
|
||||||
|
image: 'YOUR_APPLICATION_IMAGE'
|
||||||
|
networks:
|
||||||
|
- my-network
|
||||||
|
volumes:
|
||||||
|
openldap_data:
|
||||||
|
driver: local
|
||||||
|
Loading…
x
Reference in New Issue
Block a user