mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-23 22:29:59 -05:00
We agreed to move the 'opencloud_full' example to a new directory to avoid confusion with the supported compose examples in opencloud-compose. This commit keeps the bare-metal example in place as that is still mentioned in the documentation.
25 lines
927 B
YAML
25 lines
927 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
|
|
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.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
|