-
Notifications
You must be signed in to change notification settings - Fork 29
Install
Michal Hlavac edited this page May 18, 2019
·
19 revisions
Installation is pretty simple. Best and recommended way to run application is via docker compose. There are several docker-compose.yml templates for various scenarios. Anyway, there are some steps, that need to be done on GSuite site, before you start installation.
Make sure you have installed docker and docker compose.
-
Download docker-compose.yml for latest release.
-
Edit docker-compose.yml and set LDAP configuration based on your preferences in both services. Let's say we are setting up synchronization for G Suite domain
company.com
. We need to setup there properties:-
SLAPD_BIND_DN=cn=admin,dc=company,dc=com
- username for LDAP -
SLAPD_BASE_DN=dc=company,dc=com
- LDAP base DN -
SLAPD_PASSWORD=changeme
- LDAP password -
GSUITE_DOMAIN=company.com
- G Suite domain -
GSUITE_CLIENT_ID=*******.apps.googleusercontent.com
- Google credentials client ID -
GSUITE_CLIENT_SECRET=******
- Google credentials secret
-
-
Run
docker-compose up -d
and follow logs withdocker-compose logs -f
- Login to G Suite admin console and create
identity.admins
group. Then add your account to this group. Note: This account has to be also G Suite administrator. - Open URL http://localhost:8181 and sign in using account with G Suite admin access. Check if domain and username is correct and paste service account JSON obtained from Google cloud console then click Setup button.
Open in browser http://localhost:8181 and click Sign in.