forked from rundeck/docker-zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (34 loc) · 1.22 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
version: '3'
services:
rundeck1:
hostname: rundeck1
image: ${RUNDECK_IMAGE:-rundeck/rundeck:SNAPSHOT}
links:
- ldap
tty: true
environment:
RUNDECK_JAAS_MODULES_0: JettyCombinedLdapLoginModule
RUNDECK_JAAS_LDAP_FLAG: sufficient
RUNDECK_JAAS_LDAP_PROVIDERURL: ldap://ldap:389
RUNDECK_JAAS_LDAP_BINDDN: cn=admin,dc=rdtest,dc=com
RUNDECK_JAAS_LDAP_BINDPASSWORD: AdminPass123
RUNDECK_JAAS_LDAP_USERBASEDN: ou=users,dc=rdtest,dc=com
RUNDECK_JAAS_LDAP_ROLEBASEDN: ou=roles,dc=rdtest,dc=com
RUNDECK_JAAS_MODULES_1: PropertyFileLoginModule
RUNDECK_JAAS_FILE_FLAG: sufficient
volumes:
- ${RUNDECK_LICENSE_FILE:-/dev/null}:/home/rundeck/etc/rundeckpro-license.key
ports:
- 4440:4440
ldap:
hostname: ldap
image: osixia/openldap:1.2.1
environment:
- LDAP_ORGANISATION=RD Test
- LDAP_DOMAIN=rdtest.com
- LDAP_ADMIN_PASSWORD=AdminPass123
volumes:
- ./ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom:rw
ports:
- "389:389"
command: --copy-service