diff --git a/docker-compose.yml b/docker-compose.yml index 922325e..b55b36c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,15 +15,20 @@ services: labels: com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}' ports: - - 127.0.0.1:8541:8541 + - 127.0.0.1:8545:8545 command: > "anvil - --port=8541 + --port=8545 --host=0.0.0.0 --chain-id=1337 --block-time=12 --accounts=1 - --allow-origin=*" + --allow-origin=* + --state "/blockchain_data" + --config-out /blockchain_data/config.json + --silent" + volumes: + - ./anvil_state:/blockchain_data networks: - simulation @@ -37,7 +42,6 @@ services: - 127.0.0.1:60000:60000 - 127.0.0.1:8008:8008 - 127.0.0.1:9000:9000 - - 127.0.0.1:8545:8545 entrypoint: sh command: - '/opt/run_bootstrap.sh' @@ -158,7 +162,7 @@ services: ports: - 127.0.0.1:8090:8090 environment: - - NODE_ENDPOINT=http://foundry:8541 + - NODE_ENDPOINT=http://foundry:8545 - MONGO_CLIENT_URI=mongodb://mongodb:27017 - REINDEX_ENDPOINT=http://ingestion/reindex/ - MONGO_DB_NAME=epirus @@ -197,7 +201,7 @@ services: ingestion: image: web3labs/epirus-free-ingestion:latest environment: - - NODE_ENDPOINT=http://foundry:8541 + - NODE_ENDPOINT=http://foundry:8545 - MONGO_CLIENT_URI=mongodb://mongodb:27017 - MONGO_DB_NAME=epirus - LIST_OF_METRICS_TO_CALCULATE_PER_MINUTE=hourly,daily,monthly,yearly