simplify woodpecker pipeline, add ctrl/standalone gateway
This commit is contained in:
32
ctrl/standalone/README.md
Normal file
32
ctrl/standalone/README.md
Normal 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
|
||||
Reference in New Issue
Block a user