Add remote debugging support to fixturenet-geth. (#113)

* Add remote debugging support to fixturenet-geth.
This commit is contained in:
2023-01-11 12:54:22 -06:00
committed by GitHub
parent 5697a39640
commit 8e184f509d
3 changed files with 22 additions and 8 deletions
@@ -14,6 +14,12 @@ services:
fixturenet-eth-geth-1:
hostname: fixturenet-eth-geth-1
cap_add:
- SYS_PTRACE
environment:
CERC_REMOTE_DEBUG: "true"
CERC_RUN_STATEDIFF: "detect"
CERC_STATEDIFF_DB_NODE_ID: 1
env_file:
- ../config/fixturenet-eth/fixturenet-eth.env
image: cerc/fixturenet-eth-geth:local
@@ -27,12 +33,10 @@ services:
- fixturenet-eth-bootnode-geth
ports:
- "8545"
- "40000"
fixturenet-eth-geth-2:
hostname: fixturenet-eth-geth-2
environment:
CERC_RUN_STATEDIFF: "detect"
CERC_STATEDIFF_DB_NODE_ID: 2
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8545"]
interval: 30s