服务相关配置文件
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
# ---------- Bot Server ----------
|
||||
bot_server:
|
||||
container_name: ce_bot_server
|
||||
image: ai.ronsunny.cn:13011/bbit_ai/ce_bot_server:latest
|
||||
ports:
|
||||
- "8000:8000" # ws服务端
|
||||
- "8003:8003" # http服务的端口,用于简单OTA接口(单服务部署),以及视觉分析接口
|
||||
volumes: # 在本文件所在目录运行
|
||||
- ./config/bot:/app/data # 配置文件目录
|
||||
- ./config/models/SenseVoiceSmall/model.pt:/app/models/SenseVoiceSmall/model.pt # 模型文件
|
||||
depends_on:
|
||||
- bot_mcp
|
||||
networks:
|
||||
- ce_network
|
||||
|
||||
# ---------- Bot MCP ----------
|
||||
bot_mcp:
|
||||
container_name: ce_bot_mcp
|
||||
image: ai.ronsunny.cn:13011/bbit_ai/ce_bot_mcp:latest
|
||||
networks:
|
||||
- ce_network
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8004:8004"
|
||||
volumes:
|
||||
# 配置文件目录
|
||||
- ./config/bot:/app/data
|
||||
|
||||
# ---------- 网络 ----------
|
||||
networks:
|
||||
ce_network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user