-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
100 lines (98 loc) · 2.89 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: "3.4"
services:
camunda-api-openldap:
profiles:
- "buildcamunda"
restart: always
build:
context: .
dockerfile: Dockerfile
expose:
- "8080"
ports:
- "8080:8080"
environment:
SPRING_DATASOURCE_URL:
CAMUNDA_BPM_AUTHORIZATION_ENABLED: true
LDAP_AUTH_ENABLED: true
LDAP_CAMUNDA_WEBAPPS_ADMIN_GROUP_NAME: admins
LDAP_CAMUNDA_ADMIN_USER: camunda
LDAP_SERVER_URI: "ldap://openldap:1389"
LDAP_ACCEPTUNTRUSTEDCERTIFICATES: false
LDAP_MANAGER_DN: uid=camunda,cn=users,dc=example,dc=org
LDAP_MANAGER_PASSWORD: camunda123!
LDAP_SEARCH_BASE_DN: dc=example,dc=org
LDAP_USER_SEARCH_BASE:
LDAP_USER_SEARCH_FILTER: (objectclass=person)
LDAP_USER_ID_ATTRIBUTE: uid
LDAP_USER_FIRSTNAME_ATTRIBUTE: givenName
LDAP_USER_LASTNAME_ATTRIBUTE: sn
LDAP_USER_EMAIL_ATTRIBUTE: mail
LDAP_USER_PASSWORD_ATTRIBUTE: userPassword
LDAP_GROUP_SEARCH_BASE:
LDAP_GROUP_SEARCH_FILTER: (objectclass=groupOfNames)
LDAP_SORTCONTROLSUPPORTED: false
LDAP_AUTHORIZATIONCHECKENABLED: true
LDAP_GROUP_SEARCH_GROUPMEMBER_ATTRIBUTE: member
openldap:
profiles:
- "openldap"
build:
context: /ldap
dockerfile: Dockerfile
restart: always
ports:
- 1389:1389
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
camunda-api-active-directory:
profiles:
- "activedirectory"
restart: always
build:
context: .
dockerfile: Dockerfile
expose:
- "8080"
ports:
- "8080:8080"
environment:
SPRING_DATASOURCE_URL:
CAMUNDA_BPM_AUTHORIZATION_ENABLED: true
LDAP_AUTH_ENABLED: true
LDAP_CAMUNDA_WEBAPPS_ADMIN_GROUP_NAME: Administrators
LDAP_CAMUNDA_ADMIN_USER: camunda
LDAP_SERVER_URI: "ldaps://ldap.example.org:636"
LDAP_ACCEPTUNTRUSTEDCERTIFICATES: true
LDAP_MANAGER_DN: CN=Camunda Admin,CN=Users,DC=example,DC=org
LDAP_MANAGER_PASSWORD: camunda123!
LDAP_SEARCH_BASE_DN: dc=example,dc=org
LDAP_USER_SEARCH_BASE:
LDAP_USER_SEARCH_FILTER: (objectclass=person)
LDAP_USER_ID_ATTRIBUTE: uid
LDAP_USER_FIRSTNAME_ATTRIBUTE: givenName
LDAP_USER_LASTNAME_ATTRIBUTE: sn
LDAP_USER_EMAIL_ATTRIBUTE: mail
LDAP_USER_PASSWORD_ATTRIBUTE: userPassword
LDAP_GROUP_SEARCH_BASE:
LDAP_GROUP_SEARCH_FILTER: (objectclass=group)
LDAP_SORTCONTROLSUPPORTED: false
LDAP_AUTHORIZATIONCHECKENABLED: true
LDAP_GROUP_SEARCH_GROUPMEMBER_ATTRIBUTE: member
ldap.example.org:
profiles:
- "activedirectory"
restart: always
hostname: "ldap.example.org"
build:
context: /activedirectory
dockerfile: Dockerfile
privileged: true
expose:
- "636"
ports:
- "636:636"
environment:
SMB_ADMIN_PASSWORD: "admin123!"
AD_DOMAIN: "DEV-AD"