-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (84 loc) · 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.9'
x-common-variables: &common-variables
HYPERCUBE_SIZE: 3
SUPERSET_THRESHOLD: 10
INIT_PORT: 8880
services:
hypercube_0:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8880
hypercube_1:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8881
hypercube_2:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8882
hypercube_3:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8883
hypercube_4:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8884
hypercube_5:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8885
hypercube_6:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8886
hypercube_7:
network_mode: 'host'
image: hypercube:latest
environment:
<<: *common-variables
NODE_PORT: 8887
hypercube-client:
network_mode: 'host'
image: hypercube-client:latest
environment:
<<: *common-variables
hypercube-client-tracing:
network_mode: 'host'
image: hypercube-client-tracing:latest
environment:
<<: *common-variables
BLOCKCHAIN_ADDRESS: http://localhost:8545
CHAIN_ID: 1337
volumes:
- ./data/client:/client_data
- ./client-tracing/contracts:/client_data/contracts
- ./client-tracing/objects:/client_data/objects
ipfs:
network_mode: 'host'
image: ipfs/go-ipfs:v0.8.0
environment:
IPFS_PROFILE: server
IPFS_PATH: /ipfsdata
volumes:
- ./data/ipfs:/ipfsdata
ganache:
network_mode: 'host'
image: trufflesuite/ganache-cli:latest
volumes:
- ./data/ganache:/ganache_data
command: --seed 42 --db=/ganache_data