diff --git a/app/data/compose/docker-compose-fixturenet-eth.yml b/app/data/compose/docker-compose-fixturenet-eth.yml index 530cd01..663b53c 100644 --- a/app/data/compose/docker-compose-fixturenet-eth.yml +++ b/app/data/compose/docker-compose-fixturenet-eth.yml @@ -21,7 +21,7 @@ services: cap_add: - SYS_PTRACE environment: - CERC_REMOTE_DEBUG: "true" + CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true} CERC_RUN_STATEDIFF: ${CERC_RUN_STATEDIFF:-detect} CERC_STATEDIFF_DB_NODE_ID: 1 CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} diff --git a/app/data/compose/docker-compose-fixturenet-plugeth.yml b/app/data/compose/docker-compose-fixturenet-plugeth.yml index f7e98ed..b06440c 100644 --- a/app/data/compose/docker-compose-fixturenet-plugeth.yml +++ b/app/data/compose/docker-compose-fixturenet-plugeth.yml @@ -29,7 +29,7 @@ services: cap_add: - SYS_PTRACE environment: - CERC_REMOTE_DEBUG: "true" + CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true} CERC_RUN_STATEDIFF: "detect" CERC_STATEDIFF_DB_NODE_ID: 1 CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG} diff --git a/app/data/compose/docker-compose-ipld-eth-server.yml b/app/data/compose/docker-compose-ipld-eth-server.yml index ee787d5..279dca7 100644 --- a/app/data/compose/docker-compose-ipld-eth-server.yml +++ b/app/data/compose/docker-compose-ipld-eth-server.yml @@ -26,7 +26,7 @@ services: PROM_HTTP_ADDR: "0.0.0.0" PROM_HTTP_PORT: "8090" LOGRUS_LEVEL: "debug" - CERC_REMOTE_DEBUG: "true" + CERC_REMOTE_DEBUG: ${CERC_REMOTE_DEBUG:-true} volumes: - type: bind source: ../config/ipld-eth-server/chain.json diff --git a/app/deploy_system.py b/app/deploy_system.py index 2782ce5..c111294 100644 --- a/app/deploy_system.py +++ b/app/deploy_system.py @@ -196,7 +196,7 @@ def _make_runtime_env(ctx): "CERC_HOST_UID": f"{os.getuid()}", "CERC_HOST_GID": f"{os.getgid()}" } - container_exec_env.update({"CERC_SCRIPT_DEBUG": "true"} if ctx.debug else {}) + container_exec_env.update({"CERC_SCRIPT_DEBUG": "true", "CERC_REMOTE_DEBUG": "true"} if ctx.debug else {}) return container_exec_env