mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 15:27:08 +00:00
add lldap and fix /issues/14
This commit is contained in:
parent
7a21c4c5e7
commit
f5a0d99a7c
3
examples/lldap/README.md
Normal file
3
examples/lldap/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# References
|
||||
|
||||
- https://github.com/lldap/lldap
|
25
examples/lldap/docker-compose.yml
Normal file
25
examples/lldap/docker-compose.yml
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user