forked from coupang-edu/jenkins-with-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 886 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (39 loc) · 886 Bytes
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
39
40
41
services:
jenkins-docker:
container_name: jenkins-docker
image: docker:dind
privileged: true
networks:
jenkins:
aliases:
- docker
environment:
- DOCKER_TLS_CERTDIR=/certs
volumes:
- jenkins-docker-certs:/certs/client
- jenkins-data:/var/jenkins_home
ports:
- "2376:2376"
jenkins-blueocean:
container_name: jenkins-blueocean
image: jenkinsci/blueocean
networks:
- jenkins
environment:
- DOCKER_HOST=tcp://docker:2376
- DOCKER_CERT_PATH=/certs/client
- DOCKER_TLS_VERIFY=1
volumes:
- jenkins-docker-certs:/certs/client:ro
- jenkins-data:/var/jenkins_home
ports:
- "8080:8080"
- "50000:50000"
networks:
jenkins:
name: jenkins
volumes:
jenkins-docker-certs:
name: jenkins-docker-certs
jenkins-data:
name: jenkins-data