mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
8654ec90d9
Add a new Docker image variant tagged as `launcher` that includes picoclaw, picoclaw-launcher, and picoclaw-launcher-tui. The image defaults to running picoclaw-launcher (web console) instead of gateway. Original minimal single-binary image remains unchanged. New files: - docker/Dockerfile.goreleaser.launcher: goreleaser Docker with 3 binaries Updated: - .goreleaser.yaml: new dockers_v2 entry for launcher tag
53 lines
2.2 KiB
YAML
53 lines
2.2 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 --profile gateway up
|
|
# ─────────────────────────────────────────────
|
|
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
|
|
|
|
# ─────────────────────────────────────────────
|
|
# PicoClaw Launcher (Web Console + Gateway)
|
|
# docker compose -f docker/docker-compose.yml --profile launcher up
|
|
# ─────────────────────────────────────────────
|
|
picoclaw-launcher:
|
|
image: docker.io/sipeed/picoclaw:launcher
|
|
container_name: picoclaw-launcher
|
|
restart: on-failure
|
|
profiles:
|
|
- launcher
|
|
environment:
|
|
- PICOCLAW_GATEWAY_HOST=0.0.0.0
|
|
ports:
|
|
- "127.0.0.1:18800:18800"
|
|
- "127.0.0.1:18790:18790"
|
|
volumes:
|
|
- ./data:/root/.picoclaw
|