mirror of
https://github.com/waku-org/waku-simulator.git
synced 2025-02-28 23:40:35 +00:00
Add foundry to waku-simulator (#21)
* added foundry image to docker-compose and run_anvil script * removed run_anvil script and moved the command to the docker-compose file * formatted arguments for anvil command to use '=' * using specific foundry image and reformatted command arguments, previous didn't work
This commit is contained in:
parent
08949fe229
commit
421688abbb
@ -10,6 +10,19 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
foundry:
|
||||||
|
image: ghcr.io/foundry-rs/foundry:nightly-9b73e06e1fe376738b92ae081107620291d50188
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
|
command: >
|
||||||
|
"anvil
|
||||||
|
--port=8540
|
||||||
|
--chain-id=1337
|
||||||
|
--block-time=12
|
||||||
|
--accounts=1"
|
||||||
|
networks:
|
||||||
|
- simulation
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@ -43,6 +56,7 @@ services:
|
|||||||
- ./run_nwaku.sh:/opt/run_nwaku.sh:Z
|
- ./run_nwaku.sh:/opt/run_nwaku.sh:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
- bootstrap
|
- bootstrap
|
||||||
|
- foundry
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user