Tool for monitoring your mina daemon when your node stuck in the old blocks, monitoring mina-sidecar when it is timeout and stop snark worker for block producing.
I assumed that:
- The mina container name is
mina
- The mina-sidecar container name is
mina-sidecar
If it's incorrect for you, please change it to similar above
DISABLE_SIDECAR
- disable/enable the mina sidecar monitor, default: FALSEDISABLE_SNARK_WORKER
- disable/enable the snark worker stopper, default: TRUEDISABLE_EXTERNAL_IP
- disable/enable external ip monitor, default: TRUESNARK_ADDRESS
- snark worker address, default: B62qkiJuTwdJBARAPGAvStuEa37kZVZPyDrQoUCuM7WQUmZZydNBmTfSNARK_FEE
- snark worker fee (mina), default: 0.001TIMEZONE
- log timezone, default: Asia/Ho_Chi_Minh
- Clone this repo & cd to the folder
git clone https://github.com/vanphandinh/mina-status-monitor.git && cd mina-status-monitor
- Run docker container
docker-compose up -d
- Cd to the repo and pull the update
cd mina-status-monitor && git pull
- Update the latest version
docker-compose up -d --build && docker system prune -af