Skip to content

Commit

Permalink
bind all akash node ports to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
sacreman committed Oct 30, 2021
1 parent ffa3d5a commit a5a1f66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/akash-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.23.0
version: 0.24.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 4 additions & 4 deletions charts/akash-node/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ data:
for i in $(seq 1 4); do
while [ ! -f /data/node-${i}.id ]; do sleep 1; done
ID=$(cat /data/node-${i}.id)
ADDRESS="${ID}@0.0.0.0:2665${i}"
ADDRESS="${ID}@127.0.0.1:2665${i}"
SEEDS="${ADDRESS},${SEEDS}"
done
export AKASH_P2P_PERSISTENT_PEERS=${SEEDS%?}
export AKASH_RPC_LADDR=tcp://0.0.0.0:2666${NODE}
export AKASH_P2P_LADDR=tcp://0.0.0.0:2665${NODE}
export AKASH_PROF_LADDR=tcp://0.0.0.0:606${NODE}
export AKASH_RPC_LADDR=tcp://127.0.0.1:2666${NODE}
export AKASH_P2P_LADDR=tcp://127.0.0.1:2665${NODE}
export AKASH_PROF_LADDR=tcp://127.0.0.1:606${NODE}
/bin/akash start

0 comments on commit a5a1f66

Please sign in to comment.