picoclaw/docker/docker-compose.yml
dj-oyu 0ab75d92ec Merge upstream/main: cobra CLI, channel refactoring, media store, reasoning support
Merge upstream changes including:
- Cobra-based CLI command structure migration
- Channel system refactoring (flat files -> subdirectories for telegram, slack)
- Media store abstraction for file handling
- Reasoning channel support for LLM thinking output
- Prompt caching infrastructure (BuildSystemPromptWithCache)
- Bug fixes: goroutine leaks, error propagation, PublishInbound/Outbound context

Resolved 27 merge conflicts, combining HEAD's orchestration system
(AgentReporter, Broadcaster, spawn/subagent, plan mode) with upstream's
architectural changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 21:18:40 +09:00

34 lines
1.5 KiB
YAML

services:
# ─────────────────────────────────────────────
# PicoClaw Agent (one-shot query)
# docker compose -f docker/docker-compose.yml run --rm picoclaw-agent -m "Hello"
# ─────────────────────────────────────────────
picoclaw-agent:
image: docker.io/sipeed/picoclaw:latest
container_name: picoclaw-agent
profiles:
- agent
# Uncomment to access host network; leave commented unless needed.
#extra_hosts:
# - "host.docker.internal:host-gateway"
volumes:
- ./data:/root/.picoclaw
entrypoint: ["picoclaw", "agent"]
stdin_open: true
tty: true
# ─────────────────────────────────────────────
# PicoClaw Gateway (Long-running Bot)
# docker compose -f docker/docker-compose.yml up picoclaw-gateway
# ─────────────────────────────────────────────
picoclaw-gateway:
image: docker.io/sipeed/picoclaw:latest
container_name: picoclaw-gateway
restart: on-failure
profiles:
- gateway
# Uncomment to access host network; leave commented unless needed.
#extra_hosts:
# - "host.docker.internal:host-gateway"
volumes:
- ./data:/root/.picoclaw