Files
fleet-control-server/config.json.example
T

62 lines
1.7 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/#",
"aprs-gateway/aprs"
],
"tls": false
},
"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,
"web": {
"port": 9000,
"redis_url": "redis://localhost:6379/0",
"cookie_secure": false,
"session_hours": 12,
"trust_proxy": false,
"cors_origins": "*",
"require_login_for_read": false,
"ota_enabled": true
},
"retention_days": 90,
"audit_retention_days": 365,
"telemetry_retention_days": 90,
"config_backups_keep": 100
}