2022-05-01 14:36:45 +02:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
ldapman:
|
2022-06-09 20:16:53 +02:00
|
|
|
image: wheelybird/ldap-user-manager:v1.8
|
2022-05-01 14:36:45 +02:00
|
|
|
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
|
2022-06-09 20:16:53 +02:00
|
|
|
- ./new_user.php:/opt/ldap_user_manager/account_manager/new_user.php
|
2022-05-01 14:36:45 +02:00
|
|
|
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
|