-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 1013 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 1013 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
42
43
44
45
46
version: "3.5"
services:
docker:
image: "docker:dind"
privileged: true
networks:
default:
aliases: [ "docker" ]
environment:
- DOCKER_TLS_CERTDIR=/certs
volumes:
- type: volume
source: docker-certs
target: /certs/client
- type: volume
source: data
target: /var/jenkins_home
ports:
- "2376:2376"
blueocean:
image: "jenkins/jenkins:lts"
networks:
- default
environment:
- DOCKER_HOST=tcp://docker:2376
- DOCKER_CERT_PATH=/certs/client
- DOCKER_TLS_VERIFY=1
volumes:
- type: volume
source: docker-certs
target: /certs/client
- type: volume
source: data
target: /var/jenkins_home
ports:
- 8031:8080
- 50000:50000
volumes:
data:
docker-certs:
networks:
default: