33 lines
898 B
Markdown
33 lines
898 B
Markdown
# 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
|