File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,7 @@ A tool to fetch blocks from rpc and save in local db for better performance duri
21
21
22
22
![ basic arch] ( assets/arch_v2.png )
23
23
24
- ## Docker
25
-
26
- Build
27
-
28
- ``` bash
29
- docker build -t oreowallet .
30
- ```
24
+ ## Docker Local Development
31
25
32
26
Run node:
33
27
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ services:
32
32
retries : 5
33
33
34
34
migration :
35
+ build : .
35
36
image : " oreowallet"
36
37
command : /bin/sh -c "./sqlx database create && ./sqlx migrate run"
37
38
environment :
@@ -48,6 +49,7 @@ services:
48
49
max-size : " 25m"
49
50
50
51
chainloader :
52
+ build : .
51
53
restart : always
52
54
image : " oreowallet"
53
55
command : ./chain_loader --dbconfig /app/conf/dbconfig --node ${NODE_HOST}:${NODE_PORT} --verbosity ${VERBOSITY:-0}
@@ -68,6 +70,7 @@ services:
68
70
max-size : " 25m"
69
71
70
72
prover :
73
+ build : .
71
74
restart : always
72
75
image : " oreowallet"
73
76
command : ./prover --verbosity ${VERBOSITY:-0}
@@ -89,6 +92,7 @@ services:
89
92
max-size : " 25m"
90
93
91
94
server :
95
+ build : .
92
96
restart : always
93
97
image : " oreowallet"
94
98
environment :
@@ -116,6 +120,7 @@ services:
116
120
max-size : " 25m"
117
121
118
122
dservice :
123
+ build : .
119
124
restart : always
120
125
image : " oreowallet"
121
126
environment :
@@ -144,6 +149,7 @@ services:
144
149
max-size : " 25m"
145
150
146
151
dworker :
152
+ build : .
147
153
restart : always
148
154
image : " oreowallet"
149
155
command : ./dworker --address 172.19.0.10:10001 --verbosity ${VERBOSITY:-0}
You can’t perform that action at this time.
0 commit comments