-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.45 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.45 KB
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
services:
# ─────────────────────────────────────────────
# sciClaw Agent (one-shot query)
# docker compose run --rm sciclaw-agent -m "Hello"
# ─────────────────────────────────────────────
sciclaw-agent:
build:
context: .
dockerfile: Dockerfile
container_name: sciclaw-agent
profiles:
- agent
volumes:
- ./config/config.json:/root/.picoclaw/config.json:ro
- sciclaw-workspace:/root/sciclaw
entrypoint: ["sciclaw", "agent"]
stdin_open: true
tty: true
# ─────────────────────────────────────────────
# sciClaw Gateway (Long-running Bot)
# docker compose up sciclaw-gateway
# ─────────────────────────────────────────────
sciclaw-gateway:
build:
context: .
dockerfile: Dockerfile
container_name: sciclaw-gateway
restart: unless-stopped
profiles:
- gateway
volumes:
# Configuration file
- ./config/config.json:/root/.picoclaw/config.json:ro
# Persistent workspace (sessions, memory, logs)
- sciclaw-workspace:/root/sciclaw
command: ["gateway"]
volumes:
sciclaw-workspace: