-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
72 lines (67 loc) · 1.2 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
version: '3.2'
services:
controller:
image: sloong/sloongnet:latest
command:
- Manager
- 0.0.0.0:8000
volumes:
- "control_local:/data"
restart: always
networks:
- sloongnet
deploy:
mode: replicated
replicas: 1
gateway:
image: sloong/sloongnet:latest
command:
- Worker
- controller:8000
- --include=Gateway
ports:
- "18002:8000"
volumes:
- "module_local:/data"
restart: always
networks:
- sloongnet
depends_on:
- controller
deploy:
mode: replicated
replicas: 1
moduler:
image: sloong/sloongnet:latest
command:
- Worker
- controller:8000
- --exclude=Gateway,Processer
volumes:
- "module_local:/data"
restart: always
networks:
- sloongnet
depends_on:
- controller
deploy:
mode: replicated
replicas: 2
ui:
image: sloongnet-webui
ports:
- "8000:8000"
volumes:
- "webui_local:/data"
restart: always
networks:
- sloongnet
deploy:
mode: replicated
replicas: 1
volumes:
control_local:
module_local:
webui_local:
networks:
sloongnet: