Skip to content

Commit 89ad26f

Browse files
committed
include build context in docker-compose
1 parent 58dc34b commit 89ad26f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ A tool to fetch blocks from rpc and save in local db for better performance duri
2121

2222
![basic arch](assets/arch_v2.png)
2323

24-
## Docker
25-
26-
Build
27-
28-
```bash
29-
docker build -t oreowallet .
30-
```
24+
## Docker Local Development
3125

3226
Run node:
3327

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ services:
3232
retries: 5
3333

3434
migration:
35+
build: .
3536
image: "oreowallet"
3637
command: /bin/sh -c "./sqlx database create && ./sqlx migrate run"
3738
environment:
@@ -48,6 +49,7 @@ services:
4849
max-size: "25m"
4950

5051
chainloader:
52+
build: .
5153
restart: always
5254
image: "oreowallet"
5355
command: ./chain_loader --dbconfig /app/conf/dbconfig --node ${NODE_HOST}:${NODE_PORT} --verbosity ${VERBOSITY:-0}
@@ -68,6 +70,7 @@ services:
6870
max-size: "25m"
6971

7072
prover:
73+
build: .
7174
restart: always
7275
image: "oreowallet"
7376
command: ./prover --verbosity ${VERBOSITY:-0}
@@ -89,6 +92,7 @@ services:
8992
max-size: "25m"
9093

9194
server:
95+
build: .
9296
restart: always
9397
image: "oreowallet"
9498
environment:
@@ -116,6 +120,7 @@ services:
116120
max-size: "25m"
117121

118122
dservice:
123+
build: .
119124
restart: always
120125
image: "oreowallet"
121126
environment:
@@ -144,6 +149,7 @@ services:
144149
max-size: "25m"
145150

146151
dworker:
152+
build: .
147153
restart: always
148154
image: "oreowallet"
149155
command: ./dworker --address 172.19.0.10:10001 --verbosity ${VERBOSITY:-0}

0 commit comments

Comments
 (0)