This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set -x | |
****** YOU CAN PASS YOUR OWN BASE DOMAIN AS ARGUMENT TO SCRIPT [ example: ./upgrade.sh nm.167-99-151-159.nip.io ] ******* | |
docker-compose down | |
# get required files | |
wget https://github.com/mikefarah/yq/releases/download/v4.28.1/yq_linux_amd64 -O /usr/local/bin/yq && chmod +x /usr/local/bin/yq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Server:- | |
1. docker-compose down | |
2. wget -O /root/mosquitto.conf https://raw.githubusercontent.com/gravitl/netmaker/release_v0.16.1/docker/mosquitto.conf | |
3. wget -O /root/wait.sh https://raw.githubusercontent.com/gravitl/netmaker/release_v0.16.1/docker/wait.sh | |
4. RUN chmod +x /root/wait.sh |