update: mihomo
This commit is contained in:
18
mcpo/config.json
Normal file
18
mcpo/config.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user