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:
Tanya S 2024-02-23 10:48:02 +02:00 committed by GitHub
parent 08949fe229
commit 421688abbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,19 @@ networks:
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:
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
restart: on-failure
@ -43,6 +56,7 @@ services:
- ./run_nwaku.sh:/opt/run_nwaku.sh:Z
depends_on:
- bootstrap
- foundry
networks:
- simulation