Skip to content

Commit

Permalink
Add default to listen on loopback and local IP only
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Feb 3, 2024
1 parent 0c187cc commit a0906ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ start_docker_swarm() {

if [[ -n ${VOINETWORK_DOCKER_SWARM_INIT_SETTINGS} ]]; then
command+=" ${VOINETWORK_DOCKER_SWARM_INIT_SETTINGS}"
else
command+=" --listen-addr lo --advertise-addr 127.0.0.1"
fi

execute_sudo "$command"
Expand Down

0 comments on commit a0906ae

Please sign in to comment.