-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.openclaw.yml
More file actions
59 lines (57 loc) · 2.02 KB
/
docker-compose.openclaw.yml
File metadata and controls
59 lines (57 loc) · 2.02 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
openclaw:
build: ./openclaw
container_name: openclaw
restart: unless-stopped
depends_on:
- claude-code-free
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "18789:18789"
- "18790:18790"
environment:
- HOME=/home/node
- TERM=xterm-256color
# AFFiNE agent credentials (for doc read/write tools)
- AFFINE_URL=${AFFINE_URL:-http://host.docker.internal:3010}
- AFFINE_AGENT_EMAIL=${AFFINE_AGENT_EMAIL:-paul@affine.local}
- AFFINE_AGENT_PASSWORD=${AFFINE_AGENT_PASSWORD:-AffinePaul123}
# Model name (auto-synced from .env for accurate display)
- MODEL=${MODEL:-nvidia_nim/stepfun-ai/step-3.5-flash}
# API key passed to openclaw config (can be any non-empty value for the proxy)
- ANTHROPIC_API_KEY=sk-placeholder
# Gateway access token - change this to secure your gateway
- OPENCLAW_GATEWAY_TOKEN=changeme
# Optional: password auth instead of token
- OPENCLAW_GATEWAY_PASSWORD=
# GitHub PAT: enables agent persona (SOUL.md) + git operations
- GITHUB_PAT_TOKEN=${GITHUB_PAT_TOKEN}
# Twitter/X: enables tweeting + reading mentions as @voxxelle_
- TWITTER_CLIENT_ID=${TWITTER_CLIENT_ID}
- TWITTER_CLIENT_SECRET=${TWITTER_CLIENT_SECRET}
- TWITTER_BEARER_TOKEN=${TWITTER_BEARER_TOKEN}
- TWITTER_REFRESH_TOKEN=${TWITTER_REFRESH_TOKEN}
# ComfyUI Cloud: enables video generation scripts
- COMFY_UI_API_KEY=${COMFY_UI_API_KEY}
# ETH Wallet Private Key: enables smart contract interactions
- ETH_WALLET_PRIVATE_KEY=${ETH_WALLET_PRIVATE_KEY}
user: "root"
volumes:
- ./openclaw-config:/openclaw-config:ro
- openclaw-data:/home/node/.openclaw
init: true
entrypoint: ["/bin/sh", "/openclaw-config/entrypoint.sh"]
command:
[
"node",
"openclaw.mjs",
"gateway",
"--allow-unconfigured",
"--bind",
"lan",
"--port",
"18789",
]
volumes:
openclaw-data: