From f5a0d99a7cde83168841b0b7fb397e21213c7d5d Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Fri, 31 Mar 2023 21:17:53 +0200 Subject: [PATCH] add lldap and fix /issues/14 --- examples/lldap/README.md | 3 +++ examples/lldap/docker-compose.yml | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 examples/lldap/README.md create mode 100644 examples/lldap/docker-compose.yml diff --git a/examples/lldap/README.md b/examples/lldap/README.md new file mode 100644 index 0000000..0472df2 --- /dev/null +++ b/examples/lldap/README.md @@ -0,0 +1,3 @@ +# References + +- https://github.com/lldap/lldap diff --git a/examples/lldap/docker-compose.yml b/examples/lldap/docker-compose.yml new file mode 100644 index 0000000..8069593 --- /dev/null +++ b/examples/lldap/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.3' + +services: + lldap: + image: nitnelave/lldap:stable + container_name: lldap + hostname: lldap + volumes: + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/lldap/data:/data # For the config file, server private key and the sqlite database. + environment: + - LLDAP_JWT_SECRET=CHANGEME + - LLDAP_LDAP_USER_PASS=CHANGEME + - LLDAP_LDAP_BASE_DN=dc=example,dc=com + - PUID=1000 + - PGID=1000 + - TZ=Europe/Berlin + ports: + - 3890:3890 # LDAP + - 17170:17170 # WEB UI + #expose: + # - 17170 + #labels: + # - traefik.enable=true + # - traefik.http.routers.lldap.rule=Host(`lldap.example.com`) + # - traefik.http.services.lldap.loadbalancer.server.port=17170