Files
realizemultiagent/docker-compose.yml
2026-04-02 00:59:42 +08:00

64 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '3.8'
services:
# 产品经理角色
pm:
image: openclaw/openclaw:latest
container_name: openclaw-pm
volumes:
- ./roles/pm:/workspace
- ./shared:/shared
environment:
- OPENCLAW_WORKSPACE=/workspace
- SHARED_DIR=/shared
command: ["openclaw", "workspace", "/workspace"]
restart: unless-stopped
# 后端工程师角色
backend:
image: openclaw/openclaw:latest
container_name: openclaw-backend
volumes:
- ./roles/dev-backend:/workspace
- ./shared:/shared
environment:
- OPENCLAW_WORKSPACE=/workspace
- SHARED_DIR=/shared
command: ["openclaw", "workspace", "/workspace"]
restart: unless-stopped
# 前端工程师角色
frontend:
image: openclaw/openclaw:latest
container_name: openclaw-frontend
volumes:
- ./roles/dev-frontend:/workspace
- ./shared:/shared
environment:
- OPENCLAW_WORKSPACE=/workspace
- SHARED_DIR=/shared
command: ["openclaw", "workspace", "/workspace"]
restart: unless-stopped
# 测试工程师角色
qa:
image: openclaw/openclaw:latest
container_name: openclaw-qa
volumes:
- ./roles/qa:/workspace
- ./shared:/shared
environment:
- OPENCLAW_WORKSPACE=/workspace
- SHARED_DIR=/shared
command: ["openclaw", "workspace", "/workspace"]
restart: unless-stopped
# Web界面可选
web-ui:
image: nginx:alpine
container_name: openclaw-web-ui
ports:
- "8080:80"
volumes:
- ./web:/usr/share/nginx/html
restart: unless-stopped