generated from PaulRBerg/hardhat-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
102 lines (94 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
services:
cn1:
image: ghcr.io/gnosisguild/ciphernode:latest
volumes:
- ./configs/cn1.yaml:/home/ciphernode/.config/enclave/config.yaml:ro
- cn1-data:/home/ciphernode/.local/share/enclave
secrets:
- secrets.json
environment:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9091
published: 9091
protocol: udp
mode: host
deploy:
replicas: 1
networks:
- global-network
cn2:
image: ghcr.io/gnosisguild/ciphernode:latest
depends_on:
- cn1
volumes:
- ./configs/cn2.yaml:/home/ciphernode/.config/enclave/config.yaml:ro
- cn2-data:/home/ciphernode/.local/share/enclave
secrets:
- secrets.json
environment:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9092
published: 9092
protocol: udp
mode: host
deploy:
replicas: 1
networks:
- global-network
cn3:
image: ghcr.io/gnosisguild/ciphernode:latest
depends_on:
- cn1
volumes:
- ./configs/cn3.yaml:/home/ciphernode/.config/enclave/config.yaml:ro
- cn3-data:/home/ciphernode/.local/share/enclave
secrets:
- secrets.json
environment:
RUST_LOG: "info"
AGGREGATOR: "false"
ports:
- target: 9093
published: 9093
protocol: udp
mode: host
deploy:
replicas: 1
networks:
- global-network
aggregator:
image: ghcr.io/gnosisguild/ciphernode:latest
depends_on:
- cn1
volumes:
- ./configs/agg.yaml:/home/ciphernode/.config/enclave/config.yaml:ro
- agg-data:/home/ciphernode/.local/share/enclave
secrets:
- secrets.json
environment:
RUST_LOG: "info"
AGGREGATOR: "true"
ports:
- target: 9094
published: 9094
protocol: udp
mode: host
deploy:
replicas: 1
networks:
- global-network
secrets:
secrets.json:
file: ./configs/secrets.json
volumes:
cn1-data:
cn2-data:
cn3-data:
agg-data:
networks:
global-network:
driver: overlay