# Docker znnd with Monitoring

**URL:** <http://forum.zenon.org/t/docker-znnd-with-monitoring/1170>\
**Category:** Development\
**Created:** [December 29, 2022, 11:05pm UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170 "2022-12-29T23:05:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [December 29, 2022, 11:05pm UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/1 "2022-12-29T23:05:03Z")

</div>

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.

> **[GitHub - 0x3639/znndNode: znnd Node with docker hosts and containers...](https://github.com/0x3639/znndNode)**
>
> znnd Node with docker hosts and containers monitoring with Prometheus, Grafana, Loki, cAdvisor, NodeExporter, AlertManager, Uptime Kuma, and Monit

---

<div class="post-metadata">

**Author:** ![sol](http://forum.zenon.org/user_avatar/forum.zenon.org/sol/32/1636_2.png) [@sol](http://forum.zenon.org/u/sol)\
**Post date:** [December 30, 2022, 2:05am UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/2 "2022-12-30T02:05:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [December 30, 2022, 2:10am UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/3 "2022-12-30T02:10:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![romeo](http://forum.zenon.org/user_avatar/forum.zenon.org/romeo/32/6_2.png) [@romeo](http://forum.zenon.org/u/romeo)\
**Post date:** [December 31, 2022, 10:12am UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/4 "2022-12-31T10:12:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![CryptoFish](http://forum.zenon.org/user_avatar/forum.zenon.org/cryptofish/32/171_2.png) [@CryptoFish](http://forum.zenon.org/u/CryptoFish)\
**Post date:** [February 28, 2023, 8:16pm UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/5 "2023-02-28T20:16:35Z")

</div>

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](http://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.

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [February 28, 2023, 9:27pm UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/6 "2023-02-28T21:27:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![CryptoFish](http://forum.zenon.org/user_avatar/forum.zenon.org/cryptofish/32/171_2.png) [@CryptoFish](http://forum.zenon.org/u/CryptoFish)\
**Post date:** [March 1, 2023, 11:13am UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/7 "2023-03-01T11:13:26Z")

</div>

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

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

```

---

<div class="post-metadata">

**Author:** ![0x3639](http://forum.zenon.org/user_avatar/forum.zenon.org/0x3639/32/1651_2.png) [@0x3639](http://forum.zenon.org/u/0x3639)\
**Post date:** [March 1, 2023, 5:52pm UTC](http://forum.zenon.org/t/docker-znnd-with-monitoring/1170/8 "2023-03-01T17:52:58Z")

</div>

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.
