-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
31 lines (31 loc) · 1.28 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
jenkinsslave1:
container_name: jenkinsslave1
build: jenkinsslave1
jenkinsdockerslave1:
container_name: jenkinsdockerslave1
build: jenkinsdockerslave1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
jenkins:
build: jenkins
container_name: jenkins
ports:
- "8080:8080"
- "50000:50000"
links:
- jenkinsslave1
- jenkinsdockerslave1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
jenkinssetup:
container_name: jenkinssetup
build: jenkinssetup
links:
- jenkins
jenkinsswarmslave1:
container_name: jenkinsswarmslave1
build: jenkinsswarmslave1
links:
- jenkins