898 B
898 B
sysmonstm standalone deployment
Minimal standalone gateway for AWS deployment without Redis/TimescaleDB dependencies.
Status
- Created standalone main.py with FastAPI + WebSocket
- Created Dockerfile
- Created docker-compose.yml (uses gateway network)
- Deploy to AWS
- Update nginx config (sysmonstm.mcrn.ar -> sysmonstm:8080)
- Create local collector script to push metrics
Deploy
# On AWS
cd ~/sysmonstm
docker compose up -d --build
# Add to gateway network
docker network connect gateway sysmonstm
Architecture
- Gateway shows "no collectors connected" until a collector pushes metrics via WebSocket
- Collectors can be run anywhere and connect to wss://sysmonstm.mcrn.ar/ws
- No Redis/TimescaleDB needed - metrics stored in memory only
TODO
- Create simple collector script for local machine
- Add basic auth for collector connections