1
0
Fork 0
docker-compose-templates/services/openldap.yml

25 lines
670 B
YAML
Raw Normal View History

2023-12-05 11:11:14 +00:00
---
services:
openldap:
image: osixia/openldap:latest
container_name: openldap
networks:
public:
ipv4_address: 192.168.240.42
ports:
- 389:389
- 636:636
volumes:
- "${DOCKER_STORAGE_PATH}/openldap/config:/etc/ldap/slapd.d"
- "${DOCKER_STORAGE_PATH}/openldap/data:/var/lib/ldap"
environment:
- LDAP_ORGANISATION=Homelab
- LDAP_DOMAIN=${DOMAIN}
- LDAP_ADMIN_PASSWORD=kral
- LDAP_OPENLDAP_UID=${PUID}
- LDAP_OPENLDAP_GID=${PGID}
- LDAP_READONLY_USER=true
- LDAP_READONLY_USER_USERNAME=readonly
- LDAP_READONLY_USER_PASSWORD=readonly
restart: unless-stopped