mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Added Base for implementing LDAP and SSO with docker compose in later steps
This commit is contained in:
parent
a85085d687
commit
3689ac3763
5
roles/docker-ldap-sso/README.md
Normal file
5
roles/docker-ldap-sso/README.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Draft Docker LDAP and SSO
|
||||
Draft role for an LDAP implementation with sso.
|
||||
## See
|
||||
- [ChatGPT Conversation](https://chat.openai.com/share/77919994-5d44-4a64-877d-b572d67483d4)
|
||||
- [Discouse Documentation](https://forum.veen.world/t/cymais-ldap-implementierung-documentation/49)
|
26
roles/docker-ldap-sso/templates/docker-compose.yml.j2
Normal file
26
roles/docker-ldap-sso/templates/docker-compose.yml.j2
Normal file
@ -0,0 +1,26 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
openldap:
|
||||
image: osixia/openldap:1.2.4
|
||||
environment:
|
||||
- LDAP_ORGANISATION=MeineFirma
|
||||
- LDAP_DOMAIN=meinefirma.de
|
||||
- LDAP_ADMIN_PASSWORD=admin
|
||||
ports:
|
||||
- "389:389"
|
||||
- "636:636"
|
||||
volumes:
|
||||
- ./ldap:/var/lib/ldap
|
||||
- ./ldap-slapd:/etc/ldap/slapd.d
|
||||
|
||||
keycloak:
|
||||
image: jboss/keycloak:latest
|
||||
environment:
|
||||
- KEYCLOAK_USER=admin
|
||||
- KEYCLOAK_PASSWORD=admin
|
||||
- DB_VENDOR=h2
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- openldap
|
Loading…
Reference in New Issue
Block a user