Use Docker, Uptime Kuma, and Traefik To Monitor Your Website

<p>Within this article, I want to show how you can set up website monitoring from your local PC or a server with Docker/Docker Swarm. Instead of using complicated monitoring stacks like prometheus, node-exporter, or graphana I want to show a lightweight alternative called Uptime Kuma which is written in NodeJs and Vue.</p> <p>The project is open source and can be found on GitHub:&nbsp;<a href="https://github.com/louislam/uptime-kuma" rel="noopener ugc nofollow" target="_blank">https://github.com/louislam/uptime-kuma</a></p> <p>Important properties that convinced me to use this alternative are:</p> <ul> <li>The UI is beautiful!</li> <li>Super easy setup with Docker/Docker Swarm</li> <li>Unbelievable easy configuration</li> <li>Notifications via Discord, Slack, Email (SMTP), and more.&nbsp;<a href="https://github.com/louislam/uptime-kuma/tree/master/src/components/notifications" rel="noopener ugc nofollow" target="_blank">Click here for the full list.</a></li> </ul> <h1>Prerequisite</h1> <p>To run Uptime Kuma on a server or on your local machine you have to prepare your environment. I personally love to run&nbsp;<a href="https://traefik.io/" rel="noopener ugc nofollow" target="_blank">Traefik</a>&nbsp;as a reverse proxy that runs in my Docker Swarm and is deployed with&nbsp;<a href="https://docs.docker.com/compose/" rel="noopener ugc nofollow" target="_blank">Docker Compose</a>. With Traefik you can create a single Compose file and deploy any service and it will automatically issue Let&rsquo;s Encrypt certificates for your domain.</p> <p>I will shortly explain these two prerequisites and then will show how to use them to deploy Uptime Kuma.</p> <h2>Docker</h2> <p>Docker is a widely used platform for developing, shipping, and running all kinds of applications. It enables you to separate infrastructure from your applications to quickly deliver software from one machine to another.</p> <p><a href="https://levelup.gitconnected.com/use-docker-uptime-kuma-and-traefik-to-monitor-your-website-593373f9e0c2">Read More</a></p>