Skip to content

Commit

Permalink
fix: add external address
Browse files Browse the repository at this point in the history
  • Loading branch information
farbanas committed Nov 20, 2024
1 parent 3af86c8 commit dd2fab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/rpcnode/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ sed -i '0,/enable = false/s//enable = true/' "${VALIDATOR_DATA_DIRECTORY}/config
# Network requests
sed -i 's/cors_allowed_origins = \[\]/cors_allowed_origins = \["*"\]/' "${VALIDATOR_DATA_DIRECTORY}/config/config.toml"
sed -i 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/' "${VALIDATOR_DATA_DIRECTORY}/config/config.toml"
sed -i 's/laddr = "tcp:\/\/127.0.0.1:26656"/laddr = "tcp:\/\/0.0.0.0:26656"/' "${VALIDATOR_DATA_DIRECTORY}/config/config.toml"
sed -i 's/external_address = ""/external_address = "'${RPC_FQDN}':26656"/' "${VALIDATOR_DATA_DIRECTORY}/config/config.toml"
sed -i 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/' "${VALIDATOR_DATA_DIRECTORY}/config/app.toml"

# Set pruning settings
Expand Down

0 comments on commit dd2fab8

Please sign in to comment.