1 Star 0 Fork 2

大胖哥/XAgent

forked from TappaT/XAgent 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3'
services:
ToolServerManager:
image: tool-server-manager:0.2
build:
context: ./
dockerfile: dockerfiles/ToolServerManager/Dockerfile
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
DB_HOST: db
DB_PORT: 27017
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
DB_COLLECTION: ${DB_COLLECTION}
depends_on:
- db
command: ["--workers","4","-t","600"]
# This will create a test node that will nerver be used by XAgent
ToolServerNode:
image: tool-server-node:0.2
build:
context: ./
dockerfile: dockerfiles/ToolServerNode/Dockerfile
entrypoint: /bin/sh -c 'echo "Build complete. Exiting..." && exit 0'
command: echo "Build complete. Exiting..."
ToolServerMonitor:
image: tool-server-monitor:0.1
build:
context: ./
dockerfile: dockerfiles/ToolServerMonitor/Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
DB_HOST: db
DB_PORT: 27017
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
DB_COLLECTION: ${DB_COLLECTION}
depends_on:
- db
db:
image: mongo
restart: always
volumes:
- xagentmongodb:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${DB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${DB_PASSWORD}
logging:
driver: "none"
XAgentServer:
image: xagent-server:0.3
build:
context: ./
dockerfile: dockerfiles/XAgentServer/Dockerfile
container_name: XAgent-Server
env_file:
- .env
environment:
- TOOLSERVER_URL=http://ToolServerManager:8080
volumes:
- ./assets:/app/assets:ro
ports:
- "5173:5173"
- "8090:8090"
volumes:
xagentmongodb:
networks:
default:
name: tool-server-network
driver: bridge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mogutt/XAgent.git
git@gitee.com:mogutt/XAgent.git
mogutt
XAgent
XAgent
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385