/labmate

a simple dashboard for your homelab

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

logo

Labmate - a simple dashboard for your homelab

CI GitHub release (latest by date including pre-releases) Docker Pulls licence

Monitor your homelab with ease! There is no need for complex configuration, just use the docker-compose.yml from the Getting started chapter and get going.

Sidenotes

Labmate was developed during an assignment for the course "Web Programming Lab" at the Lucerne University of Applied Sciences.

Getting started

Just want to try out labmate? Use de following docker-compose template and navigate to http://localhost:8998

version: "3.9"

services:
  db:
    image: mongo:latest
    volumes:
      - mongodb_data:/data/db
  api:
    image: frankwhite/labmate-api:v1.0.2
    environment:
      - MONGO_URL=mongodb://db:27017/labmate
      - PORT=8000
    ports:
      - "8585:8000"
    depends_on:
      - db
  app:
    image: frankwhite/labmate:v1.0.2
    environment:
      - API_HOSTNAME=localhost
      - API_PORT=8585
    ports:
      - "8998:8080"
    depends_on:
      - api

volumes:
  mongodb_data:

Build from source

Prerequisites

Clone repo, install dependencies and build packages:

git clone https://github.com/francWhite/labmate.git
cd labmate
npm install
npm run build
npm start

To run the applications individually, use the following commands:

cd labmate/packages/server
npm run build
npm start

cd labmate/packages/client
npm run build
npm start 

Docker

Or build the application / docker images and run the containers with the included docker-compose.yml:

docker-compose up --build