simplify woodpecker pipeline, add ctrl/standalone gateway

This commit is contained in:
buenosairesam
2026-01-02 21:12:02 -03:00
parent b526bde98e
commit 8279528b7c
5 changed files with 258 additions and 180 deletions

32
ctrl/standalone/README.md Normal file
View File

@@ -0,0 +1,32 @@
# sysmonstm standalone deployment
Minimal standalone gateway for AWS deployment without Redis/TimescaleDB dependencies.
## Status
- [x] Created standalone main.py with FastAPI + WebSocket
- [x] Created Dockerfile
- [x] 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
```bash
# 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