Files
fleet-control-server/config.json.example
T
iv3jdv 8ce2ed243d fix/feat: stabilizzazione dashboard in tempo reale e log dinamici
- Modificato app.py per leggere i parametri del RotatingFileHandler dal config.json, permettendo la regolazione dello spazio su disco senza toccare il codice.
- Identificato e risolto il bug degli azzeramenti della tabella Lastheard (causato da un fallback continuo di Socket.IO a causa della mancata direttiva Upgrade nei reverse proxy)
2026-10-20 21:37:18 +02:00

44 lines
1.2 KiB
JSON

{
"mqtt": {
"broker": "your_mqtt_broker_address",
"port": 1883,
"user": "your_username",
"password": "your_password",
"client_id": "fleet_backend_prod",
"topics": [
"servizi/+/stat",
"dmr-gateway/+/json",
"devices/+/services",
"nxdn-gateway/+/json",
"ysf-gateway/+/json",
"p25-gateway/+/json",
"dstar-gateway/+/json",
"mmdvm/+/json",
"devices/#",
"data/#"
]
},
"web_admin": {
"default_user": "admin",
"default_pass": "admin123"
},
"webpush": {
"vapid_public_key": "INSERT_GENERATED_PUBLIC_KEY_HERE",
"vapid_private_key": "INSERT_GENERATED_PRIVATE_KEY_HERE",
"vapid_claim_email": "mailto:your@email.com"
},
"ui": {
"profileA_Name": "PROFILE A",
"profileA_Color": "#3b82f6",
"profileB_Name": "PROFILE B",
"profileB_Color": "#eab308"
},
"update_schedule": "03:00",
"id_urls": {
"dmr": "https://radioid.net/static/dmrid.dat",
"nxdn": "https://radioid.net/static/nxdn.csv"
},
"log_max_mb": 50,
"log_backup_count": 10
}