forked from EYBlockchain/nightfall_3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
113 lines (105 loc) · 2.82 KB
/
docker-compose.dev.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
version: '3.5'
# Use this script for running up nightfall_3 in 'developer' mode with local
# bindings. See the readme for more information.
services:
client1:
build:
dockerfile: client.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-client/src
target: /app/src
- type: bind
source: ./common-files
target: /common-files
- type: bind
source: ./config/default.js
target: /app/config/default.js
client2:
build:
dockerfile: client.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-client/src
target: /app/src
- type: bind
source: ./common-files
target: /common-files
- type: bind
source: ./config/default.js
target: /app/config/default.js
worker:
# image: 3800decac71d
build:
dockerfile: worker.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-deployer/circuits
target: /app/circuits/
- type: bind
source: ./zokrates-worker/src
target: /app/src/
- type: bind
source: ./config/default.js
target: /app/config/default.js
deployer:
#image: docker.pkg.github.com/eyblockchain/nightfall-deployer/nightfall_deployer:1.1.0
build:
dockerfile: deployer.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-deployer/contracts
target: /app/contracts/
- type: bind
source: ./nightfall-deployer/circuits
target: /app/circuits/
- type: bind
source: ./nightfall-deployer/src
target: /app/src/
- type: bind
source: ./common-files
target: /common-files
- type: bind
source: ./config/default.js
target: /app/config/default.js
- type: bind
source: ./nightfall-deployer/migrations
target: /app/migrations
- type: bind
source: ./nightfall-deployer/truffle-config.js
target: /app/truffle-config.js
- type: bind
source: ./nightfall-deployer/entrypoint.sh
target: /app/entrypoint.sh
optimist1:
build:
dockerfile: optimist.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-optimist/src
target: /app/src
- type: bind
source: ./common-files
target: /common-files
- type: bind
source: ./config/default.js
target: /app/config/default.js
optimist2:
build:
dockerfile: optimist.Dockerfile
context: .
volumes:
- type: bind
source: ./nightfall-optimist/src
target: /app/src
- type: bind
source: ./common-files
target: /common-files
- type: bind
source: ./config/default.js
target: /app/config/default.js