-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
184 lines (167 loc) · 3.56 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
---
version: "3.9"
services:
evol-ctr-py:
build: ./app/Evol_Ctr/
container_name: evol-ctr-py
depends_on:
- evol-ctr-mkp
- evol-ctr-ipfs
- exp-mg-py
ports:
- 6004
networks:
fgan-network:
ipv4_address: 172.16.239.11
environment:
- PYTHONUNBUFFERED=1
evol-ctr-ipfs:
build: ./config/ipfs/
container_name: evol-ctr-ipfs
ports:
- 4001
- 8090:8080
- 5001
volumes:
- ./config/ipfs/volumes/Evol_Ctr/data:/data/ipfs
- ./config/ipfs/volumes/Evol_Ctr/export:/export
networks:
fgan-network:
ipv4_address: 172.16.239.12
evol-ctr-mkp:
build: ./app/marketplace/
container_name: evol-ctr-mkp
depends_on:
- evol-ctr-ipfs
ports:
- 8545
- 3000
environment:
IPFS_IP: ${EVOL_CTR_IPFS_IP}
PRIV_KEY: ${EVOL_CTR_PRIV_KEY}
networks:
fgan-network:
ipv4_address: 172.16.239.13
exp-mg-py:
build: ./app/Exp_Mg/
container_name: exp-mg-py
depends_on:
- exp-mg-mkp
- exp-mg-ipfs
- cur-ctr-py
ports:
- 6001
networks:
fgan-network:
ipv4_address: 172.16.239.21
environment:
- PYTHONUNBUFFERED=1
exp-mg-ipfs:
build: ./config/ipfs/
container_name: exp-mg-ipfs
ports:
- 4001
- 8091:8080
- 5001
volumes:
- ./config/ipfs/volumes/Exp_Mg/data:/data/ipfs
- ./config/ipfs/volumes/Exp_Mg/export:/export
networks:
fgan-network:
ipv4_address: 172.16.239.22
exp-mg-mkp:
build: ./app/marketplace/
container_name: exp-mg-mkp
depends_on:
- exp-mg-ipfs
ports:
- 8545
- 3000
environment:
IPFS_IP: ${EXP_MG_IPFS_IP}
PRIV_KEY: ${EXP_MG_PRIV_KEY}
networks:
fgan-network:
ipv4_address: 172.16.239.23
dt-py:
build: ./app/DT/
container_name: dt-py
depends_on:
- dt-ipfs
ports:
- 6002
networks:
fgan-network:
ipv4_address: 172.16.239.31
environment:
- PYTHONUNBUFFERED=1
dt-ipfs:
build: ./config/ipfs/
container_name: dt-ipfs
ports:
- 4001
- 8092:8080
- 5001
volumes:
- ./config/ipfs/volumes/DT/data:/data/ipfs
- ./config/ipfs/volumes/DT/export:/export
networks:
fgan-network:
ipv4_address: 172.16.239.32
# dt-mkp:
# build: ./app/marketplace/Dockerfile
# container_name: dt-mkp
# ports:
# - 8545
# - 3000
# networks:
# fgan-network:
# ipv4_address: 172.16.239.33
cur-ctr-py:
build: ./app/Cur_Ctr/
container_name: cur-ctr-py
depends_on:
- cur-ctr-mkp
- cur-ctr-ipfs
- dt-py
ports:
- 6003
networks:
fgan-network:
ipv4_address: 172.16.239.41
environment:
- PYTHONUNBUFFERED=1
cur-ctr-ipfs:
build: ./config/ipfs/
container_name: cur-ctr-ipfs
ports:
- 4001
- 8093:8080
- 5001
volumes:
- ./config/ipfs/volumes/Cur_Ctr/data:/data/ipfs
- ./config/ipfs/volumes/Cur_Ctr/export:/export
networks:
fgan-network:
ipv4_address: 172.16.239.42
cur-ctr-mkp:
build: ./app/marketplace/
container_name: cur-ctr-mkp
depends_on:
- cur-ctr-ipfs
ports:
- 8545
- 3000
environment:
IPFS_IP: ${CUR_CTR_IPFS_IP}
PRIV_KEY: ${CUR_CTR_PRIV_KEY}
networks:
fgan-network:
ipv4_address: 172.16.239.43
networks:
fgan-network:
name: fgan-network
driver: bridge
ipam:
config:
- subnet: 172.16.239.0/24