Docker

Run PicoClaw with Docker Compose. Clone from GitHub, set config, then start. See Get Started for non-Docker install.

Quick start

# 1. Clone
git clone https://github.com/sipeed/picoclaw.git
cd picoclaw

# 2. Config
cp config/config.example.json config/config.json
# Edit config.json: DISCORD_BOT_TOKEN, API keys, etc.

# 3. Build & start gateway
docker compose --profile gateway up -d

# 4. Logs
docker compose logs -f picoclaw-gateway

Agent mode

# One-shot
docker compose run --rm picoclaw-agent -m "What is 2+2?"

# Interactive
docker compose run --rm picoclaw-agent

LINE webhook

For LINE, expose webhook port: add ports: ["18791:18791"] to the gateway service. Use ngrok or reverse proxy for HTTPS.

Related