-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
executable file
·73 lines (73 loc) · 1.96 KB
/
compose.yaml
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
services:
sm-manager:
build:
context: .
dockerfile: ./services/sm-manager
ports:
- 8000:8000
networks:
- lux-network
deploy:
replicas: 1
restart_policy:
condition: on-failure
mpc-node-0:
build:
context: .
dockerfile: ./services/mpc-node-0
environment:
- NODE_ENV=production
- smTimeOutBound=3
- sign_client_name=gg18_sign_client
- node_number=0
- sign_sm_manager=http://sm-manager:8000/
- PORT=6000
ports:
- 6000:6000
networks:
- lux-network
deploy:
replicas: 1
restart_policy:
condition: on-failure
mpc-node-1:
build:
context: .
dockerfile: ./services/mpc-node-1
environment:
- NODE_ENV=production
- smTimeOutBound=3
- sign_client_name=gg18_sign_client
- node_number=1
- sign_sm_manager=http://sm-manager:8000/
- PORT=6001
ports:
- 6001:6001
networks:
- lux-network
deploy:
replicas: 1
restart_policy:
condition: on-failure
mpc-node-2:
build:
context: .
dockerfile: ./services/mpc-node-2
environment:
- NODE_ENV=production
- smTimeOutBound=3
- sign_client_name=gg18_sign_client
- node_number=2
- sign_sm_manager=http://sm-manager:8000/
- PORT=6002
ports:
- 6002:6002
networks:
- lux-network
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
lux-network:
driver: bridge