diff --git a/docker-compose.yml b/docker-compose.yml index 120c220..6cff0b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/run_anvil.sh b/run_anvil.sh deleted file mode 100644 index 9f9e65a..0000000 --- a/run_anvil.sh +++ /dev/null @@ -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" \ No newline at end of file