mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-30 17:00:57 -06:00
* ldap setup * run ldap in the opencloud full * set admin user * feat: use the shared LDAP schema and new phpldapadmin * chore: change dc to match opencloud domain --------- Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
24 lines
881 B
YAML
24 lines
881 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: phpldapadmin/phpldapadmin:latest
|
|
networks:
|
|
opencloud-net:
|
|
environment:
|
|
LDAP_HOST: ldap-server
|
|
LDAP_PORT: 1389
|
|
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.tls.certresolver=http"
|
|
- "traefik.http.routers.ldap-manager.service=ldap-manager"
|
|
- "traefik.http.services.ldap-manager.loadbalancer.server.port=8080"
|
|
logging:
|
|
driver: ${LOG_DRIVER:-local}
|
|
restart: always
|