update: mihomo

This commit is contained in:
2026-03-20 10:48:59 +08:00
parent 213aaab8de
commit 3c2010fcf3
15 changed files with 1901 additions and 8 deletions

18
mcpo/config.json Normal file
View File

@@ -0,0 +1,18 @@
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"]
},
"arxiv-mcp-server": {
"args": [
"tool",
"run",
"arxiv-mcp-server",
"--storage-path",
"/path/to/paper/storage"
],
"command": "uv"
}
}
}

View File

@@ -8,9 +8,12 @@ services:
- ./config.json:/app/config.json # 挂载配置文件
environment:
- TZ=Asia/Shanghai
- UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# 启动命令:指定配置文件路径,并设置 API Key 保护接口
command: --config /app/config.json --port 8000 --api-key "LsUtOyTRFXi60ahzG28FPoGCwDh9DF76" --hot-reload
restart: unless-stopped
networks:
- webui-network
networks:
webui-network:
external: true