2023-10-30 15:51:40 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
CONSENSUS_PRIV_KEY=$BOOTSTRAP_NODE_KEY
|
2023-11-09 12:59:06 +02:00
|
|
|
DA_VOTER=$BOOTSTRAP_NODE_KEY
|
2023-10-30 15:51:40 +01:00
|
|
|
NET_NODE_KEY=$BOOTSTRAP_NODE_KEY
|
|
|
|
OVERLAY_NODES=$(/etc/nomos/scripts/consensus_node_list.sh)
|
|
|
|
|
|
|
|
export CONSENSUS_PRIV_KEY \
|
2023-11-09 12:59:06 +02:00
|
|
|
DA_VOTER \
|
2023-10-30 15:51:40 +01:00
|
|
|
OVERLAY_NODES \
|
|
|
|
NET_NODE_KEY
|
|
|
|
|
|
|
|
echo "I am a container ${HOSTNAME} node ${NET_NODE_KEY}"
|
|
|
|
echo "CONSENSUS_PRIV_KEY: ${CONSENSUS_PRIV_KEY}"
|
2023-11-09 12:59:06 +02:00
|
|
|
echo "DA_VOTER: ${DA_VOTER}"
|
2023-10-30 15:51:40 +01:00
|
|
|
echo "OVERLAY_NODES: ${OVERLAY_NODES}"
|
|
|
|
|
2024-01-23 18:16:33 +02:00
|
|
|
exec /usr/bin/nomos-node /etc/nomos/bootstrap_config.yaml --with-metrics
|