Skip to content

Commit 012ad9f

Browse files
authored
Add fireblocks Dockerfile (#57)
* fireblocks docker * double timeout and add fb to compose
1 parent 397006e commit 012ad9f

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

compose.yml

+15
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ services:
1212
- .env
1313
platform: linux/amd64
1414
entrypoint: ["blobstream0", "service"]
15+
depends_on:
16+
fireblocks:
17+
condition: service_started
18+
19+
fireblocks:
20+
container_name: fireblocks
21+
build:
22+
context: .
23+
dockerfile: ./dockerfiles/fireblocks.Dockerfile
24+
env_file:
25+
- .env
26+
ports:
27+
- "8545:8545"
28+
platform: linux/amd64
29+
entrypoint: ["fireblocks-json-rpc"]
1530

1631
blobstream0-dev:
1732
container_name: blobstream0-dev

core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ where
248248
update_tx
249249
.send()
250250
.await?
251-
.with_timeout(Some(Duration::from_secs(60)))
251+
.with_timeout(Some(Duration::from_secs(120)))
252252
.watch()
253253
.await?;
254254

dockerfiles/fireblocks.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM node:20
2+
RUN npm install -g @fireblocks/fireblocks-json-rpc
3+
ENTRYPOINT ["fireblocks-json-rpc"]

0 commit comments

Comments
 (0)