Tools for automatically monitoring the Sui network and upgrading the latest Sui docker image and important files
- Watchtower in
docker-compose.yml: detect and upgrade the Sui container if a new Sui image is available. monitor.sh: notify the Sui network states.updater.sh: detect, download newgenesis.blob&fullnode-template.yamlfile and upgrade the Sui container if they are updated
- Clone this repo.
- Copy all files to your Sui folder, that overrides your
docker-compose.ymlfile. Refer to https://github.com/MystenLabs/sui/tree/main/docker/fullnode - Run your fullnode as normal with the new
docker-compose.yml. - Add your TELEGRAM_BOT_TOKEN & CHAT_ID to
monitor.shandupdater.sh. - Run
chmod +x monitor.sh && chmod +x updater.sh. - Run
monitor.shandupdater.shin 2 sessions ofscreen. Refer to https://linuxize.com/post/how-to-use-linux-screen/