24 lines
1.0 KiB
YAML
24 lines
1.0 KiB
YAML
|
---
|
||
|
|
||
|
version: "3.8"
|
||
|
|
||
|
networks:
|
||
|
default:
|
||
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
||
|
|
||
|
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
|