-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.operations.yml
55 lines (50 loc) · 1.22 KB
/
docker-compose.operations.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3.5'
services:
portainer:
image: portainer/portainer
command: --no-auth -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- target: 9000
published: 9000
protocol: tcp
mode: ingress
deploy:
placement:
constraints:
- node.platform.os == linux
- node.role == manager
replicas: 1
visualizer:
image: dockersamples/visualizer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- target: 8080
published: 8000
protocol: tcp
mode: ingress
deploy:
placement:
constraints:
- node.platform.os == linux
- node.role == manager
replicas: 1
teamcity-agent:
image: jetbrains/teamcity-agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- teamcity-agent-conf:/data/teamcity_agent/conf
environment:
- SERVER_URL=http://build-winvm0:80
- AGENT_NAME=deploy-agent
deploy:
placement:
constraints:
- node.platform.os == linux
- node.role == manager
- node.labels.data == yes
replicas: 1
volumes:
teamcity-agent-conf: