fix: run modified nodes with DEBUG log level

This commit is contained in:
Roman 2025-06-17 14:32:24 +08:00
parent bc34291cef
commit b1c37ea7ea
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E
3 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
export CFG_FILE_PATH="/config.yaml" \
CFG_SERVER_ADDR="http://cfgsync:4400" \
CFG_HOST_IP=$(hostname -i) \
CFG_HOST_KIND="executor" \
CFG_HOST_IDENTIFIER="executor-$(hostname -i)" \
LOG_LEVEL="DEBUG" \
RISC0_DEV_MODE=true
/usr/bin/cfgsync-client && \
exec /usr/bin/nomos-executor /config.yaml

View File

@ -0,0 +1,13 @@
#!/bin/sh
set -e
export CFG_FILE_PATH="/config.yaml" \
CFG_SERVER_ADDR="http://cfgsync:4400" \
CFG_HOST_IP=$(hostname -i) \
CFG_HOST_IDENTIFIER="validator-$(hostname -i)" \
LOG_LEVEL="DEBUG" \
RISC0_DEV_MODE=true
/usr/bin/cfgsync-client && \
exec /usr/bin/nomos-node /config.yaml

View File

@ -5,13 +5,13 @@ nomos_nodes = {
"image": NOMOS_MOD_DA_IMAGE,
"volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"],
"ports": ["3000/udp", "18080/tcp"],
"entrypoint": "/etc/nomos/scripts/run_nomos_node.sh",
"entrypoint": "/etc/nomos/scripts/run_nomos_node_debug.sh",
},
"nomos_executor_mod_da": {
"image": NOMOS_EXECUTOR_MOD_DA_IMAGE,
"volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"],
"ports": ["3000/udp", "18080/tcp"],
"entrypoint": "/etc/nomos/scripts/run_nomos_executor.sh",
"entrypoint": "/etc/nomos/scripts/run_nomos_executor_debug.sh",
},
"nomos_custom": {
"image": NOMOS_IMAGE,