-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
106 lines (103 loc) · 2.08 KB
/
docker-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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: "3.3"
services:
chrome-magic:
image: alpeware/chrome-headless-trunk
ports:
- 9222:9222
networks:
proxy_network:
mssql:
image: microsoft/mssql-server-linux
ports:
- 1433:1433
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=AAABBBccc123
volumes:
- .data:/var/opt/mssql
networks:
backend:
api:
depends_on:
- mssql
- chrome-magic
# restart: always
networks:
backend:
frontend:
image: seecis/sauron
labels:
- traefik.backend=sauron-api
- traefik.frontend.rule=Host:api.sauron.localhost
- traefik.docker.network=frontend
- traefik.port=9091
environment:
- HOME=/saur
entrypoint: sauron serve api --config /saur/config.toml
volumes:
- ./config:/saur
expose:
- 9091
ports:
- 9091:9091
proxy:
image: seecis/sauron
labels:
- traefik.backend=sauron-proxy
- traefik.frontend.rule=Host:proxy.sauron.localhost
- traefik.docker.network=frontend
- traefik.port=8092
environment:
- HOME=/saur
entrypoint: sauron proxy --config /saur/config.toml
networks:
proxy_network:
frontend:
volumes:
- ./config:/saur
ports:
- 8092:8092
expose:
- 8092
redis:
image: redis
ports:
- 6379:6379
networks:
backend:
worker:
depends_on:
- mssql
image: seecis/sauron
entrypoint: sauron worker --config /saur/config.toml
volumes:
- ./config:/saur
networks:
backend:
proxy_network:
web:
depends_on:
- api
- proxy
image: seecis/sauron-web
networks:
frontend:
entrypoint: serve dist -l tcp://0.0.0.0:5000
ports:
- 5000:5000
labels:
- traefik.backend=sauron-web
- traefik.frontend.rule=Host:sauron.localhost
- traefik.docker.network=frontend
- traefik.port=5000
expose:
- 5000
task-manager:
image: seecis/sauron
networks:
proxy_network:
external: false
backend:
external: false
frontend:
external: true