put php openldap admin behind /phpldapadmin/

This commit is contained in:
2020-10-20 17:35:49 +11:00
parent bdd194f418
commit 2e5e431d0a

View File

@@ -197,8 +197,11 @@ services:
PHPLDAPADMIN_HTTPS: "false" PHPLDAPADMIN_HTTPS: "false"
labels: labels:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
ports: - "traefik.enable=true"
- "38900:80" - "traefik.http.routers.phpldapadmin.rule=PathPrefix(`/phpldapadmin/`)"
- "traefik.http.middlewares.stripprefix-phpldapadmin.stripprefix.prefixes=/phpldapadmin"
- "traefik.http.routers.phpldapadmin.middlewares=stripprefix-phpldapadmin@docker"
- "traefik.http.routers.phpldapadmin.entrypoints=web"
depends_on: depends_on:
- openldap - openldap