- Add Dockerfile with multi-stage build for picoclaw - Add docker-compose.discord.yml for Discord bot service - Add docker-compose.yml for agent mode service - Add .env.example with environment variable template - Add .dockerignore for optimized builds - Update README.md with Docker Compose section and language switch - Add README.ja.md (Japanese documentation) - Update .gitignore with Docker-related entries
26 lines
780 B
YAML
26 lines
780 B
YAML
services:
|
|
|
|
|
|
# ─────────────────────────────────────────────
|
|
# PicoClaw Agent (one-shot query)
|
|
# docker compose run --rm picoclaw-agent -m "Hello"
|
|
# ─────────────────────────────────────────────
|
|
picoclaw-agent:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: picoclaw-agent
|
|
profiles:
|
|
- agent
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./config/config.json:/root/.picoclaw/config.json:ro
|
|
- picoclaw-workspace:/root/.picoclaw/workspace
|
|
entrypoint: ["picoclaw", "agent"]
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
volumes:
|
|
picoclaw-workspace:
|