mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-10 09:53:11 +00:00
added foundry image to docker-compose and run_anvil script
This commit is contained in:
parent
08949fe229
commit
782e7852e6
@ -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
|
||||
|
||||
|
||||
9
run_anvil.sh
Normal file
9
run_anvil.sh
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user