-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci-stack.yml
More file actions
56 lines (52 loc) · 1.32 KB
/
Copy pathci-stack.yml
File metadata and controls
56 lines (52 loc) · 1.32 KB
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
47
48
49
50
51
52
53
54
55
56
version: "3.7"
services:
portainer:
image: portainer/portainer-ce
command: -H unix:///var/run/docker.sock
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
deploy:
replicas: 1
update_config:
parallelism: 1
order: start-first
failure_action: rollback
placement:
constraints: [node.role==manager]
visualizer:
image: dockersamples/visualizer
ports:
- "8081:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
update_config:
parallelism: 1
order: start-first
failure_action: rollback
placement:
constraints: [node.role==manager]
jenkins:
user: root
image: "jenkinsci/blueocean"
ports:
- "8080:8080"
volumes:
- jenkins_data:/var/jenkins_home
- /usr/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
update_config:
parallelism: 1
order: start-first
failure_action: rollback
placement:
constraints: [node.role==manager]
volumes:
portainer_data:
jenkins_data: