Files
opencloud-compose/testing/ldap-manager.yml
Dominik Schmidt 26ccf1c819 feat: add image variables for clamav and the ldap manager
clamav only had a tag variable and the ldap manager none. Give both an
image and a tag variable like the other images that default to a moving
tag, so every such image is configured, pinned and bumped the same way.
2026-11-12 02:02:04 +01:00

24 lines
993 B
YAML

---
# This file can be used to be added to the opencloud_full example
# to browse the LDAP server with a web interface.
# This is not a production ready setup.
services:
ldap-manager:
image: ${LDAP_MANAGER_DOCKER_IMAGE:-phpldapadmin/phpldapadmin}:${LDAP_MANAGER_DOCKER_TAG:-latest}
networks:
opencloud-net:
environment:
LDAP_HOST: ldap-server
LDAP_PORT: 1389
LDAP_LOGIN_OBJECTCLASS: "inetOrgPerson"
APP_URL: "https://${LDAP_MANAGER_DOMAIN:-ldap.opencloud.test}"
labels:
- "traefik.enable=true"
- "traefik.http.routers.ldap-manager.entrypoints=https"
- "traefik.http.routers.ldap-manager.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.opencloud.test}`)"
- "traefik.http.routers.ldap-manager.${TRAEFIK_SERVICES_TLS_CONFIG}"
- "traefik.http.routers.ldap-manager.service=ldap-manager"
- "traefik.http.services.ldap-manager.loadbalancer.server.port=8080"
logging:
driver: ${LOG_DRIVER:-local}
restart: always