-
Notifications
You must be signed in to change notification settings - Fork 0
/
front-compose.yml
67 lines (62 loc) · 1.24 KB
/
front-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
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
57
58
59
60
61
62
63
64
65
66
67
version: "3"
services:
portainer:
image: portainer/portainer:latest
command: --no-auth
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: global
placement:
constraints:
- node.role == manager
traefik:
image: library/traefik:latest
command: --docker --docker.swarmmode --docker.domain=traefik --docker.watch --web
ports:
- "8080:8080"
networks:
- traefik-net
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: global
placement:
constraints:
- node.role == manager
varnish:
build: varnish
image: varnish
ports:
- "80:80"
environment:
- BACKENDS=traefik
- BACKENDS_PORT=80
- DNS_ENABLED=true
networks:
- traefik-net
deploy:
mode: global
placement:
constraints:
- node.role == manager
hitch:
build: hitch
image: hitch
ports:
- "443:8443"
networks:
- traefik-net
deploy:
mode: global
placement:
constraints:
- node.role == manager
volumes:
zeo-data:
networks:
traefik-net:
external:
name: traefik-net