Files
fleet-control-server/config.json.example
T
iv3jdv efca23c64f feat(logs): limite configurabile e selettore righe Last Heard con i18n
Aggiunto il supporto per definire il numero di righe del Last Heard tramite configurazione (config.json) e query string (?limit=). Inserito nel frontend un selettore a tendina con persistenza in localStorage ed etichetta bilingue (IT/EN).
2026-10-25 11:54:20 +01:00

45 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,
"last_heard_limit": 60
}