first commit
This commit is contained in:
16
mcpo/docker-compose.yml
Normal file
16
mcpo/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
mcpo:
|
||||
image: ghcr.io/open-webui/mcpo:main
|
||||
container_name: mcpo
|
||||
ports:
|
||||
- "8100:8000"
|
||||
volumes:
|
||||
- ./config.json:/app/config.json # 挂载配置文件
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
# 启动命令:指定配置文件路径,并设置 API Key 保护接口
|
||||
command: --config /app/config.json --port 8000 --api-key "LsUtOyTRFXi60ahzG28FPoGCwDh9DF76" --hot-reload
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
webui-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user