forked from hlavki/g-suite-identity-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 881 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
32
33
34
35
36
37
38
version: "3"
services:
identity:
image: hlavki/g-suite-identity-sync
ports:
- 8181:8181
- 8101:8101
environment:
- SLAPD_BIND_DN=cn=admin,dc=example,dc=org
- SLAPD_BASE_DN=dc=example,dc=org
- SLAPD_PASSWORD=changeme
- GSUITE_DOMAIN=example.org
- GSUITE_CLIENT_ID=*******.apps.googleusercontent.com
- GSUITE_CLIENT_SECRET=******
depends_on:
- ldap
volumes:
- identity-config:/opt/karaf/etc/identity
ldap:
image: osixia/openldap
ports:
- "389:389"
environment:
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "Company ltd."
LDAP_DOMAIN: "example.com"
LDAP_ADMIN_PASSWORD: "changeme"
LDAP_CONFIG_PASSWORD: "changeme"
volumes:
- ldap-data:/var/lib/ldap
- ldap-config:/etc/ldap/slapd.d
volumes:
identity-config:
ldap-config:
ldap-data: