nomos-e2e-tests/cluster_config/scripts/run_nomos_executor.sh
2025-01-14 13:33:41 +08:00

15 lines
358 B
Bash
Executable File

#!/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="INFO" \
RISC0_DEV_MODE=true
/usr/bin/cfgsync-client && \
exec /usr/bin/nomos-executor /config.yaml