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.
Labmate was developed during an assignment for the course "Web Programming Lab" at the Lucerne University of Applied Sciences.
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:
- Node.js >= 19.6
- npm >= 9
- MongoDB instance
- Update
packages/server/.env
with your MongoDB connection string
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
Or build the application / docker images and run the containers with the included docker-compose.yml
:
docker-compose up --build