2026-02-16 06:48:40 +00:00
|
|
|
services:
|
|
|
|
|
# ─────────────────────────────────────────────
|
|
|
|
|
# PicoClaw Agent (one-shot query) - Full MCP Support
|
2026-03-01 02:56:02 +00:00
|
|
|
# docker compose -f docker/docker-compose.full.yml run --rm picoclaw-agent -m "Hello"
|
2026-02-16 06:48:40 +00:00
|
|
|
# ─────────────────────────────────────────────
|
|
|
|
|
picoclaw-agent:
|
|
|
|
|
build:
|
2026-03-01 02:56:02 +00:00
|
|
|
context: ..
|
|
|
|
|
dockerfile: docker/Dockerfile.full
|
2026-02-16 06:48:40 +00:00
|
|
|
container_name: picoclaw-agent-full
|
|
|
|
|
profiles:
|
|
|
|
|
- agent
|
|
|
|
|
volumes:
|
2026-03-01 02:56:02 +00:00
|
|
|
- ../config/config.json:/root/.picoclaw/config.json:ro
|
2026-02-16 06:48:40 +00:00
|
|
|
- picoclaw-workspace:/root/.picoclaw/workspace
|
|
|
|
|
- picoclaw-npm-cache:/root/.npm # npm cache for faster MCP server installs
|
|
|
|
|
entrypoint: ["picoclaw", "agent"]
|
|
|
|
|
stdin_open: true
|
|
|
|
|
tty: true
|
|
|
|
|
|
|
|
|
|
# ─────────────────────────────────────────────
|
|
|
|
|
# PicoClaw Gateway (Long-running Bot) - Full MCP Support
|
2026-03-01 02:56:02 +00:00
|
|
|
# docker compose -f docker/docker-compose.full.yml --profile gateway up
|
2026-02-16 06:48:40 +00:00
|
|
|
# ─────────────────────────────────────────────
|
|
|
|
|
picoclaw-gateway:
|
|
|
|
|
build:
|
2026-03-01 02:56:02 +00:00
|
|
|
context: ..
|
|
|
|
|
dockerfile: docker/Dockerfile.full
|
2026-02-16 06:48:40 +00:00
|
|
|
container_name: picoclaw-gateway-full
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
profiles:
|
|
|
|
|
- gateway
|
|
|
|
|
volumes:
|
|
|
|
|
# Configuration file
|
2026-03-01 02:56:02 +00:00
|
|
|
- ../config/config.json:/root/.picoclaw/config.json:ro
|
2026-02-16 06:48:40 +00:00
|
|
|
# Persistent workspace (sessions, memory, logs)
|
|
|
|
|
- picoclaw-workspace:/root/.picoclaw/workspace
|
|
|
|
|
# NPM cache for faster MCP server installs
|
|
|
|
|
- picoclaw-npm-cache:/root/.npm
|
|
|
|
|
command: ["gateway"]
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
picoclaw-workspace:
|
|
|
|
|
picoclaw-npm-cache: # Cache npm packages to speed up MCP server installations
|