2023-07-05 14:57:00 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
2023-07-17 12:33:30 +02:00
|
|
|
external: true
|
2023-07-05 14:57:00 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
lldap:
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-lldap}.rule=Host(`${LLDAP_DOMAIN:?err}`)
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-lldap}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|
|
|
|
# - traefik.http.routers.${TRAEFIK_ROUTER_NAME:-lldap}.tls.certResolver=letsencrypt
|
|
|
|
- traefik.http.services.${TRAEFIK_ROUTER_NAME:-lldap}.loadbalancer.server.port=17170
|
|
|
|
- traefik.http.services.${TRAEFIK_ROUTER_NAME:-lldap}.loadbalancer.server.scheme=http
|
|
|
|
|
|
|
|
# https://github.com/lldap/lldap/issues/247#issuecomment-1489962511
|
|
|
|
# - traefik.tcp.routers.${TRAEFIK_ROUTER_NAME:-lldap}.rule=HostSNI(`${LLDAP_DOMAIN:?err}`)
|
|
|
|
# - traefik.tcp.routers.${TRAEFIK_ROUTER_NAME:-lldap}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|
|
|
|
# - traefik.tcp.services.${TRAEFIK_ROUTER_NAME:-lldap}.loadbalancer.server.port=3890
|