24 lines
721 B
YAML
24 lines
721 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
ldapman:
|
|
image: wheelybird/ldap-user-manager:v1.7
|
|
env_file:
|
|
- ldapmanager.env
|
|
restart: always
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./php.ini:/usr/local/etc/php/php.ini
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik"
|
|
- "traefik.http.routers.{{ docker_ldapmanager_service_id }}.entrypoints=web"
|
|
- "traefik.http.routers.{{ docker_ldapmanager_service_id }}.rule=Host(`{{ docker_ldapmanager_fqdn }}`)"
|
|
- "traefik.http.services.{{ docker_ldapmanager_service_id }}.loadbalancer.server.port=80"
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|