Docker znnd with Monitoring

I’m finally making some progress on my automated node setup. Do not test this yet. I’m still working through some things. I found a good project to start with and added znnd built from source and loki for log monitoring. This uses Caddy for endpoint SSL which I’m liking a lot.

This has a nice notification plugin so you can post notices to TG if you want.

I plan to update the instructions and setup a few more dashboards specific to NoM. I hope to be done by this weekend.

5 Likes

Really nice work so far! What kind of specs do we need to run this docker image?

Good question. I’m hoping we can run it on a standard node (8g). But I’ll need to test that for sure.

Great stuff, let us know when it’s ready for testing

Great work @0x3639,

Just for reference, found two issues so far which are:

  1. The DOMAIN=${DOMAIN:-} and PUBLIC_IP=${PUBLIC_IP:-} syntax doesn’t work. Instead set directly with DOMAIN=public.zenon-node.com and PUBLIC_IP=69.69.69.69.

  2. The url of the JSON_API data source in Grafana is staticly set to ‘02.deeZNNutz.com’.

There still might be an issue with the restart functionality. It seems to hang when trying to restart. Will need more testing to be sure.

2 Likes

Thank you for testing. I will try a fresh install and test again.

1 Like

Just wondering, If you make changes to the repo, can I just pull the changes and rebuild by issueing the following command?

git pull
sudo docker compose down
sudo docker compose up -d --force-recreate

yes, that will make the changes: it will update the code and recreate the images. All synced data and changes to grafana will persist. I’ll test the changes and update soon.

1 Like