removed run_anvil script and moved the command to the docker-compose file

This commit is contained in:
stubbsta 2024-02-22 13:14:56 +02:00
parent 782e7852e6
commit b3cd74cc44
No known key found for this signature in database
2 changed files with 6 additions and 14 deletions

View File

@ -14,11 +14,12 @@ services:
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
command:
- anvil
- --port 8540
- --chain-id 1337
- --block-time 12
- --accounts 1
networks:
- simulation

View File

@ -1,9 +0,0 @@
#!/bin/sh
echo "anvil script"
# defaults:
#
exec anvil --port 8540 --chain-id 1337 --block-time 12 --accounts 1
echo "anvil running"