-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathcompose.yml
More file actions
executable file
·57 lines (45 loc) · 1.54 KB
/
compose.yml
File metadata and controls
executable file
·57 lines (45 loc) · 1.54 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
openldap-app:
hostname: ldap.example.org
image: docker.io/nfrastack/openldap:2.6
container_name: openldap-app
ports:
- 389:389
- 636:636
volumes:
#- ./backup:/data/backup
#- ./config:/data/config
#- ./data:/data/db
- ./data:/data
- ./certs:/certs
- ./logs:/logs
environment:
- TIMEZONE=America/Vancouver
- HOSTNAME=ldap.example.org
- DOMAIN=example.org
- BASE_DN=dc=example,dc=org
- LOG_LEVEL=256
- ADMIN_PASS=admin
- CONFIG_PASS=config
- DEBUG_MODE=FALSE
- ENABLE_READONLY_USER=FALSE
- READONLY_USER_USER=reader
- READONLY_USER_PASS=reader
- ENABLE_TLS=TRUE
- TLS_CERT_FILE=cert.pem
- TLS_KEY_FILE=key.pem
- TLS_ENFORCE=FALSE
- ENABLE_REPLICATION=FALSE
- REPLICATION_CONFIG_SYNCPROV=binddn="cn=config" bindmethod=simple credentials="admin" searchbase="cn=config" type=refreshAndPersist retry="5 5 60 +" timeout=1 filter="(!(objectclass=olcGlobal))"
- REPLICATION_DB_SYNCPROV=binddn="cn=admin,dc=example,dc=org" bindmethod=simple credentials="admin" searchbase="dc=example,dc=org" type=refreshAndPersist interval=00:00:00:10 retry="5 5 60 +" timeout=1
- REPLICATION_HOSTS=ldap://ldap1.example.com ldap://ldap2.example.com ldap://ldap3.example.com
- REMOVE_CONFIG_AFTER_SETUP=false
- ENABLE_BACKUP=TRUE
#- BACKUP_INTERVAL=0400
#- BACKUP_RETENTION=10080
networks:
- services
restart: always
networks:
services:
external: true