Skip to content

Commit

Permalink
Add fireblocks Dockerfile (#57)
Browse files Browse the repository at this point in the history
* fireblocks docker

* double timeout and add fb to compose
  • Loading branch information
rlukata authored Dec 13, 2024
1 parent 397006e commit 012ad9f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ services:
- .env
platform: linux/amd64
entrypoint: ["blobstream0", "service"]
depends_on:
fireblocks:
condition: service_started

fireblocks:
container_name: fireblocks
build:
context: .
dockerfile: ./dockerfiles/fireblocks.Dockerfile
env_file:
- .env
ports:
- "8545:8545"
platform: linux/amd64
entrypoint: ["fireblocks-json-rpc"]

blobstream0-dev:
container_name: blobstream0-dev
Expand Down
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ where
update_tx
.send()
.await?
.with_timeout(Some(Duration::from_secs(60)))
.with_timeout(Some(Duration::from_secs(120)))
.watch()
.await?;

Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/fireblocks.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM node:20
RUN npm install -g @fireblocks/fireblocks-json-rpc
ENTRYPOINT ["fireblocks-json-rpc"]

0 comments on commit 012ad9f

Please sign in to comment.