-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
31 lines (30 loc) · 988 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
version: '3.8'
services:
openldap:
image: bitnami/openldap:2.4.56
ports:
- '1389:1389'
- '1636:1636'
environment:
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- LDAP_USERS=user01,user02
- LDAP_PASSWORDS=password1,password2
jenkins:
image: nxtlytics/jenkins-controller:v0.0.20
build:
context: .
user: "root:root"
privileged: true
volumes:
- "${PWD}/examples/00_ad_config.yml:/usr/share/jenkins/ref/casc_configs/00_ad_config.yml"
- "${PWD}/examples/01_base_config.yml:/usr/share/jenkins/ref/casc_configs/01_base_config.yml"
- "${PWD}/examples/02_github_config.yml:/usr/share/jenkins/ref/casc_configs/02_github_config.yml"
- "${PWD}/examples/03_cloud_config.yml:/usr/share/jenkins/ref/casc_configs/03_cloud_config.yml"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "8080:8080"
env_file:
- secrets.env
depends_on:
- openldap