HomeLab Monitor is a simple web application built with Flask to monitor and display system statistics of your homelab device.
This is the most lightweight HomeLab Monitor.
This repository also includes a Docker setup for easy deployment.
- View CPU usage
- Monitor memory usage
- Easy-to-use/Very very simple web interface (auto refreshes every 32s)
- Docker installed on your machine.
-
Clone this repository:
git clone https://github.com/xdfnleaks/homelab-monitor.git cd homelab-monitor
-
Build and run the Docker container:
sudo docker-compose up -d
-
Access the HomeLab Monitor web interface:
Open your web browser and navigate to http://localhost:5000.
And now your all set!
If you prefer using Portainer to manage your Docker containers, follow these steps:
-
Make sure you have Portainer installed. If not, you can deploy it using the following Docker Compose file:
version: '3' services: portainer: image: portainer/portainer-ce restart: always ports: - "9000:9000" volumes: - /var/run/docker.sock:/var/run/docker.sock
Run
docker-compose up -d
to start Portainer. -
Open your web browser and navigate to http://localhost:9000 to set up Portainer.
-
Once Portainer is set up, create a new stack.
-
Copy the contents of the
docker-compose.yml
file displayed belowversion: '3' services: homelab-monitor: image: ghcr.io/xdfnleaks/homelab-monitor:latest restart: always ports: - "5000:5000" container_name: homelab-monitor
-
Paste the copied content into the Portainer stack editor.
-
Deploy the stack.
-
Access the HomeLab Monitor web interface through Portainer.
Please report any issues you have with the bot in the Issues tab!