diff --git a/docker-compose.yml b/docker-compose.yml index 74f061f..120c220 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,18 @@ networks: services: + foundry: + image: ghcr.io/foundry-rs/foundry:latest + labels: + com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}' + entrypoint: sh + command: + - '/opt/run_anvil.sh' + volumes: + - ./run_anvil.sh:/opt/run_anvil.sh:Z + networks: + - simulation + bootstrap: image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest} restart: on-failure @@ -43,6 +55,7 @@ services: - ./run_nwaku.sh:/opt/run_nwaku.sh:Z depends_on: - bootstrap + - foundry networks: - simulation diff --git a/run_anvil.sh b/run_anvil.sh new file mode 100644 index 0000000..9f9e65a --- /dev/null +++ b/run_anvil.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +echo "anvil script" + +# defaults: +# +exec anvil --port 8540 --chain-id 1337 --block-time 12 --accounts 1 + +echo "anvil running" \ No newline at end of file