-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 908 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 908 Bytes
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
version: "3.9"
services:
xclaw:
build: .
image: xclaw:latest
container_name: xclaw
restart: unless-stopped
ports:
- "8080:8080"
volumes:
# Persist all XClaw data (database, logs, memory files)
- xclaw_data:/data
# Mount config file from host (copy xclaw.config.example.yaml → xclaw.config.yaml first)
- ./xclaw.config.yaml:/app/xclaw.config.yaml:ro
environment:
- XCLAW_DATA_DIR=/data
- XCLAW_WEB_HOST=0.0.0.0
# Override individual settings via environment variables:
# - XCLAW_API_KEY=sk-...
# - XCLAW_MODEL=claude-opus-4-5
# - XCLAW_WEB_AUTH_TOKEN=your-secret-token
# - XCLAW_MULTI_USER_MODE=true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
volumes:
xclaw_data:
driver: local