This document provides instructions for deploying the PBSMon web application.
- Docker
- Kerberos
- Running on Debian 13
- run in root dir of project
cp .env.prod.example .env- then fill in the missing enviroment variables
to deploy:
./deploy.shdeploy.sh now performs a pre-build OpenAPI preparation phase before building any service:
- Generate OpenAPI JSON from API source code (
api/src/scripts/generate-openapi.ts) intoweb/openapi/openapi.json - Generate frontend API client from that local spec (
web/scripts/generate-api-client.js) - Build/start containers with Docker Compose
This removes the previous dependency where frontend build needed a running API container to fetch /docs-json.
In case of need to restart nginx, run
sudo docker compose -f docker-compose.prod.yml restart -d nginxTODO:
- make deploy.sh great again - it needs to work
- add configuration for nginx to .env, dont hardcode it
- how to make a new PBS machines works and to be configured