-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
19 lines (14 loc) · 920 Bytes
/
config.example.json
File metadata and controls
19 lines (14 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"_comment": "System Monitor Server Configuration Example",
"_instructions": "Copy this file to 'config.json' and modify the values according to your needs",
"port": 7788,
"_port_description": "Port number for the server to listen on (default: 7788)",
"dataRetentionDays": 30,
"_dataRetentionDays_description": "Number of days to retain historical data before automatic cleanup (default: 30)",
"databasePath": "data/system-monitor.db",
"_databasePath_description": "Path to SQLite database file (will be created if it doesn't exist)",
"cors": true,
"_cors_description": "CORS configuration: false to disable, true to allow all origins, or array of allowed origins like [\"http://localhost:7777\", \"https://yourdomain.com\"]",
"authToken": "",
"_authToken_description": "Authentication token for client requests. If provided, clients must include this token in their requests."
}