-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 940 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3'
services:
ldap:
image: dnknth/ldap-demo
restart: unless-stopped
healthcheck:
test: "ldapsearch -x -b dc=flintstones,dc=com cn > /dev/null"
interval: 30s
retries: 2
timeout: 2s
ldap-ui:
image: dnknth/ldap-ui
ports:
- 127.0.0.1:5000:5000
links:
- ldap
environment:
LDAP_URL: "${LDAP_URL:-ldap://ldap/}"
USE_TLS: ${USE_TLS:-}
INSECURE_TLS: ${INSECURE_TLS:-}
BASE_DN: "${BASE_DN:-dc=flintstones,dc=com}"
BIND_DN: "${BIND_DN:-cn=Fred Flintstone,ou=People,dc=flintstones,dc=com}"
BIND_PASSWORD: "${BIND_PASSWORD:-yabbadabbado}"
restart: unless-stopped
healthcheck:
test: "wget -q -O /dev/null http://localhost:5000"
interval: 30s
retries: 2
timeout: 2s