Skip to content

Commit

Permalink
fix(docker): set addr flags to 0.0.0.0 in entrypoint file (#3808)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey authored Oct 4, 2024
1 parent 76ac684 commit 896a46b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ set -e

if [ "$1" = 'celestia' ]; then
echo "Initializing Celestia Node with command:"

COMMAND="celestia "${NODE_TYPE}" init --p2p.network "${P2P_NETWORK}" --rpc.addr="0.0.0.0" --gateway.addr="0.0.0.0""
if [[ -n "$NODE_STORE" ]]; then
echo "celestia "${NODE_TYPE}" init --p2p.network "${P2P_NETWORK}" --node.store "${NODE_STORE}""
celestia "${NODE_TYPE}" init --p2p.network "${P2P_NETWORK}" --node.store "${NODE_STORE}"
COMMAND=${COMMAND}" --node.store "${NODE_STORE}""
echo $COMMAND
$COMMAND
else
echo "celestia "${NODE_TYPE}" init --p2p.network "${P2P_NETWORK}""
celestia "${NODE_TYPE}" init --p2p.network "${P2P_NETWORK}"
echo $COMMAND
$COMMAND
fi

echo ""
Expand Down

0 comments on commit 896a46b

Please sign in to comment.