Spaces:
Sleeping
Sleeping
File size: 1,903 Bytes
da590a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | 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
volumes:
- ./config/config.json:/root/.picoclaw/config.json:ro
- picoclaw-workspace:/root/.picoclaw/workspace
# Mount Docker socket for Docker skill
- /var/run/docker.sock:/var/run/docker.sock
# devices:
# Uncomment for Voice skill support (Linux only)
# - /dev/snd:/dev/snd
entrypoint: ["picoclaw", "agent"]
stdin_open: true
tty: true
# βββββββββββββββββββββββββββββββββββββββββββββ
# PicoClaw Gateway (Long-running Bot)
# docker compose up picoclaw-gateway
# βββββββββββββββββββββββββββββββββββββββββββββ
picoclaw-gateway:
build:
context: .
dockerfile: Dockerfile
container_name: picoclaw-gateway
restart: unless-stopped
profiles:
- gateway
volumes:
# Configuration file
- ./config/config.json:/root/.picoclaw/config.json:ro
# Persistent workspace (sessions, memory, logs)
- picoclaw-workspace:/root/.picoclaw/workspace
# Mount Docker socket for Docker skill
- /var/run/docker.sock:/var/run/docker.sock
# devices:
# Uncomment for Voice skill support (Linux only)
# - /dev/snd:/dev/snd
command: ["gateway"]
volumes:
picoclaw-workspace:
|