add anvil config and volume to remember state and output account info; nwaku config to register rln membership

This commit is contained in:
stubbsta 2024-03-11 12:23:48 +02:00
parent dd29b10b26
commit 7973c0e78f
No known key found for this signature in database

View File

@ -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