diff --git a/docker-compose.yml b/docker-compose.yml index e787296..28bfe6e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -197,8 +197,11 @@ services: PHPLDAPADMIN_HTTPS: "false" labels: - "com.centurylinklabs.watchtower.enable=true" - ports: - - "38900:80" + - "traefik.enable=true" + - "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: - openldap