@@ -3,6 +3,9 @@ version: '3.5'
3
3
services :
4
4
client :
5
5
image : ghcr.io/eyblockchain/nightfall3-client:latest
6
+ build :
7
+ dockerfile : client.Dockerfile
8
+ context : ../../
6
9
volumes :
7
10
- type : volume
8
11
source : build
@@ -12,9 +15,6 @@ services:
12
15
target : /app/mongodb
13
16
networks :
14
17
- pong_network
15
- # ports:
16
- # - 27017:27017
17
- # - 8080:80
18
18
depends_on :
19
19
- worker
20
20
- rabbitmq
@@ -37,20 +37,16 @@ services:
37
37
38
38
rabbitmq :
39
39
image : rabbitmq
40
- # ports:
41
- # - '15674:15674'
42
- # - '5672:5672'
43
40
networks :
44
41
- pong_network
45
42
46
43
optimist :
47
44
image : ghcr.io/eyblockchain/nightfall3-optimist:latest
45
+ build :
46
+ dockerfile : optimist.Dockerfile
47
+ context : ../../
48
48
networks :
49
49
- pong_network
50
- # ports:
51
- # - 8081:80
52
- # websocket port for Optimist is on localhost:8082
53
- # - 8082:8080
54
50
volumes :
55
51
- type : volume
56
52
source : build
@@ -67,25 +63,6 @@ services:
67
63
TIMBER_PORT : 80
68
64
command : ['npm', 'run', 'dev']
69
65
70
- # # Temporary container to deploy contracts and circuits and populate volumes
71
- # deployer:
72
- # image: ghcr.io/eyblockchain/nightfall3-deployer
73
- # volumes:
74
- # - type: volume
75
- # source: build
76
- # target: /app/build/
77
- # networks:
78
- # - nightfall_network
79
- # environment:
80
- # LOG_LEVEL: debug
81
- # # ETH_NETWORK sets the network selected by Truffle from truffle-config.js
82
- # # startup routines will wait for a blockchain client to be reachable on this network
83
- # ETH_NETWORK: blockchain1
84
- # BLOCKCHAIN_WS_HOST: blockchain1
85
- # BLOCKCHAIN_PORT: 8546
86
- # ZOKRATES_WORKER_HOST: worker
87
- # USE_STUBS: 'false'
88
-
89
66
# Temporary container to deploy contracts and circuits and populate volumes
90
67
deployer :
91
68
image : ghcr.io/eyblockchain/nightfall3-deployer:latest
@@ -96,30 +73,6 @@ services:
96
73
- type : volume
97
74
source : build
98
75
target : /app/build/
99
- - type : bind
100
- source : ../../nightfall-deployer/contracts
101
- target : /app/contracts/
102
- - type : bind
103
- source : ../../nightfall-deployer/circuits
104
- target : /app/circuits/
105
- - type : bind
106
- source : ../../nightfall-deployer/src
107
- target : /app/src/
108
- - type : bind
109
- source : ../../common-files
110
- target : /common-files
111
- - type : bind
112
- source : ../../config/default.js
113
- target : /app/config/default.js
114
- - type : bind
115
- source : ../../nightfall-deployer/migrations
116
- target : /app/migrations
117
- - type : bind
118
- source : ../../nightfall-deployer/truffle-config.js
119
- target : /app/truffle-config.js
120
- - type : bind
121
- source : ../../nightfall-deployer/entrypoint.sh
122
- target : /app/entrypoint.sh
123
76
networks :
124
77
- pong_network
125
78
environment :
@@ -131,8 +84,6 @@ services:
131
84
BLOCKCHAIN_PORT : 8546
132
85
ZOKRATES_WORKER_HOST : worker
133
86
USE_STUBS : ' false'
134
- USER_ETHEREUM_ADDRESSES : 0x4ca4902a6f456b488947074ad4140317c7e21996,0xfCb059A4dB5B961d3e48706fAC91a55Bad0035C9
135
- ETH_ADDRESS : ' 0xdb080dC48961bC1D67a0A4151572eCb824cC76E8'
136
87
137
88
worker :
138
89
image : ghcr.io/eyblockchain/nightfall3-worker:latest
@@ -155,13 +106,6 @@ services:
155
106
context : ../../
156
107
networks :
157
108
- pong_network
158
- # volumes:
159
- # - type: bind
160
- # source: ../../common-files
161
- # target: /app/common-files
162
- # - type: bind
163
- # source: ./proposer/src
164
- # target: /app/test/ping-pong/proposer/src
165
109
environment :
166
110
OPTIMIST_HOST : optimist
167
111
OPTIMIST_WS_PORT : 8080
@@ -171,44 +115,13 @@ services:
171
115
BLOCKCHAIN_WS_HOST : blockchain1
172
116
BLOCKCHAIN_PORT : 8546
173
117
174
- # user-local:
175
- # image: ghcr.io/eyblockchain/nightfall3-user-local:latest
176
- # build:
177
- # dockerfile: user-local.Dockerfile
178
- # context: ../../
179
- # networks:
180
- # - pong_network
181
- # # volumes:
182
- # # - type: bind
183
- # # source: ../../common-files
184
- # # target: /app/common-files
185
- # # - type: bind
186
- # # source: ./user-local/src
187
- # # target: /app/test/ping-pong/user-local/src
188
- # environment:
189
- # OPTIMIST_HOST: optimist
190
- # OPTIMIST_WS_PORT: 8080
191
- # OPTIMIST_HTTP_PORT: 80
192
- # CLIENT_HOST: client
193
- # CLIENT_PORT: 80
194
- # BLOCKCHAIN_WS_HOST: blockchain1
195
- # BLOCKCHAIN_PORT: 8546
196
- # ZKP_MNEMONIC: tiger victory velvet tank ritual column horse conduct athlete position soul shaft
197
-
198
118
user-local1 :
199
- # image: ghcr.io/eyblockchain/nightfall3-user-local1:latest
119
+ image : ghcr.io/eyblockchain/nightfall3-user-local1:latest
200
120
build :
201
121
dockerfile : user-local1.Dockerfile
202
122
context : ../../
203
123
networks :
204
124
- pong_network
205
- # volumes:
206
- # - type: bind
207
- # source: ../../common-files
208
- # target: /app/common-files
209
- # - type: bind
210
- # source: ./user-local1/src
211
- # target: /app/test/ping-pong/user-local1/src
212
125
environment :
213
126
OPTIMIST_HOST : optimist
214
127
OPTIMIST_WS_PORT : 8080
@@ -217,26 +130,14 @@ services:
217
130
CLIENT_PORT : 80
218
131
BLOCKCHAIN_WS_HOST : blockchain1
219
132
BLOCKCHAIN_PORT : 8546
220
- TEST_LENGTH : 3
221
- ERC20_NAME : ERC20Mock
222
- USER_ETHEREUM_SIGNING_KEY : ' 0xb0fa8745bd6e77a67ec6a27e701971d659937140cc3159d9f85210da3444eb45'
223
- RECIPIENT_PKD : 0x105651c0c5bb97582b3270e0f5a07ca81410ffd1920e86697efddaec03dccef8,0x1ac3b61ecba1448e697b23d37efe290fb86554b2f905aaca3a6df59805eca366
224
- ZKP_MNEMONIC : tone shadow woman critic glare utility brass scheme edge brisk enforce champion
225
133
226
134
user-local2 :
227
- # image: ghcr.io/eyblockchain/nightfall3-user-local1 :latest
135
+ image : ghcr.io/eyblockchain/nightfall3-user-local2 :latest
228
136
build :
229
137
dockerfile : user-local1.Dockerfile
230
138
context : ../../
231
139
networks :
232
140
- pong_network
233
- # volumes:
234
- # - type: bind
235
- # source: ../../common-files
236
- # target: /app/common-files
237
- # - type: bind
238
- # source: ./user-local1/src
239
- # target: /app/test/ping-pong/user-local1/src
240
141
environment :
241
142
OPTIMIST_HOST : optimist
242
143
OPTIMIST_WS_PORT : 8080
@@ -245,12 +146,6 @@ services:
245
146
CLIENT_PORT : 80
246
147
BLOCKCHAIN_WS_HOST : blockchain1
247
148
BLOCKCHAIN_PORT : 8546
248
- TEST_LENGTH : 3
249
- ERC20_NAME : ERC20Mock
250
- USER_ETHEREUM_SIGNING_KEY : ' 0xd42905d0582c476c4b74757be6576ec323d715a0c7dcff231b6348b7ab0190eb'
251
- RECIPIENT_PKD : 0x193a37cd7973373aceae05d133f3d69ab6e7ef2f4321461173871ec7611244e2,0x27234a8721e73c9aa160154ee63d2470101fc5fd841221eeb675a91ec2d66e78
252
- ZKP_MNEMONIC :
253
- tiger victory velvet tank ritual column horse conduct athlete position soul shaft
254
149
255
150
volumes :
256
151
mongodb :
0 commit comments