Coder Social home page Coder Social logo

xdfnleaks / homelab-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 51 KB

HomeLab Monitor is a simple web application built with Flask to monitor and display system statistics of your homelab device.

License: GNU General Public License v3.0

HTML 71.29% Python 24.15% Dockerfile 4.55%
data docker docker-compose dockerfile flask homelab homeserver html javascript lightweight linux monitor python python3 selfhosted server simple system ubuntu

homelab-monitor's Introduction

HomeLab Monitor

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.

Features

  • View CPU usage
  • Monitor memory usage
  • Easy-to-use/Very very simple web interface (auto refreshes every 32s)

Getting Started

Prerequisites

  • Docker installed on your machine.

Usage

  1. Clone this repository:

    git clone https://github.com/xdfnleaks/homelab-monitor.git
    cd homelab-monitor
  2. Build and run the Docker container:

    sudo docker-compose up -d
  3. Access the HomeLab Monitor web interface:

    Open your web browser and navigate to http://localhost:5000.

And now your all set!

Deploying with Portainer

If you prefer using Portainer to manage your Docker containers, follow these steps:

  1. 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.

  2. Open your web browser and navigate to http://localhost:9000 to set up Portainer.

  3. Once Portainer is set up, create a new stack.

  4. Copy the contents of the docker-compose.yml file displayed below

    version: '3'
    
    services:
      homelab-monitor:
        image: ghcr.io/xdfnleaks/homelab-monitor:latest
        restart: always
        ports:
          - "5000:5000"
        container_name: homelab-monitor
    
  5. Paste the copied content into the Portainer stack editor.

  6. Deploy the stack.

  7. Access the HomeLab Monitor web interface through Portainer.

Issues

Please report any issues you have with the bot in the Issues tab!

homelab-monitor's People

Contributors

xdfnleaks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.