ui: simplify configuration forms
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"interval_seconds": 300,
|
||||
"timeout_seconds": 8,
|
||||
"target_host": "www.baidu.com",
|
||||
"target_port": 443,
|
||||
"fail_threshold": 3,
|
||||
"recover_threshold": 1,
|
||||
"db_path": "/app/data/monitor.db",
|
||||
"proxies": [
|
||||
{
|
||||
"id": "example-local",
|
||||
"name": "示例 SOCKS5(默认停用)",
|
||||
"host": "127.0.0.1",
|
||||
"port": 1080,
|
||||
"username": "",
|
||||
"password": "",
|
||||
"target_host": "www.baidu.com",
|
||||
"target_port": 443,
|
||||
"timeout_seconds": 8,
|
||||
"interval_seconds": 300,
|
||||
"fail_threshold": 3,
|
||||
"recover_threshold": 1,
|
||||
"enabled": false
|
||||
}
|
||||
],
|
||||
"notifications": {
|
||||
"enabled": true,
|
||||
"timeout_seconds": 10,
|
||||
"channels": [
|
||||
{
|
||||
"id": "ch-bark",
|
||||
"type": "bark",
|
||||
"name": "Bark",
|
||||
"enabled": false,
|
||||
"config": {
|
||||
"server": "https://api.day.app",
|
||||
"key": "填你的BarkKey",
|
||||
"group": "SOCKS5监控"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ch-pushplus",
|
||||
"type": "pushplus",
|
||||
"name": "PushPlus",
|
||||
"enabled": false,
|
||||
"config": {
|
||||
"token": "填你的PushPlusToken",
|
||||
"template": "txt",
|
||||
"topic": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ch-autman",
|
||||
"type": "autman",
|
||||
"name": "Autman",
|
||||
"enabled": false,
|
||||
"config": {
|
||||
"url": "http://ip:port/m/push1",
|
||||
"access_token": "填你的Autman鉴权token"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user