xdai-archive.yml

tracestore flags not working via environment
This commit is contained in:
cventastic
2022-11-03 09:29:18 +01:00
parent 4f282a205a
commit 208fcfbf53

View File

@@ -11,7 +11,13 @@ services:
image: nethermindeth/nethermind:TracesDB image: nethermindeth/nethermind:TracesDB
restart: always restart: always
stop_grace_period: 1m stop_grace_period: 1m
command: '--JsonRpc.Enabled true --JsonRpc.Host 0.0.0.0 --Metrics.Enabled true' command: |
--JsonRpc.Enabled true \
--JsonRpc.Host 0.0.0.0 \
--Metrics.Enabled true \
--TraceStore.Enabled true \
--TraceStore.BlocksToKeep 0 \
--TraceStore.TraceTypes Trace,Rewards,VmTrace,StateDiff
ports: ports:
- '30303:30303/tcp' # p2p - '30303:30303/tcp' # p2p
- '30303:30303/udp' # p2p - '30303:30303/udp' # p2p
@@ -26,9 +32,6 @@ services:
environment: environment:
- NETHERMIND_CONFIG=xdai_archive - NETHERMIND_CONFIG=xdai_archive
- NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=[Eth,AccountAbstraction,Subscribe,TxPool,Web3,Personal,Proof,Net,Parity,Health,Trace] - NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=[Eth,AccountAbstraction,Subscribe,TxPool,Web3,Personal,Proof,Net,Parity,Health,Trace]
- NETHERMIND_TRACESTORE_ENABLED=[True]
- NETHERMIND_TRACESTORE_BLOCKSTOKEEP=[0]
- NETHERMIND_TRACESTORE_TRACETYPES=[Trace,Rewards,VmTrace,StateDiff]
- NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091 - NETHERMIND_METRICSCONFIG_EXPOSEPORT=9091
logging: logging:
options: options: