forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (58 loc) · 2.23 KB
/
docker-compose.yml
File metadata and controls
60 lines (58 loc) · 2.23 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
60
services:
openclaw-gateway:
shm_size: '2gb'
# image: ${OPENCLAW_IMAGE:-openclaw:local}
build:
context: .
args:
# Install chromium + dependencies for browser tool (profile: openclaw)
OPENCLAW_DOCKER_APT_PACKAGES: "chromium"
environment:
HOME: /home/node
TERM: xterm-256color
OPENCLAW_GATEWAY_URL: ws://openclaw-gateway:18789
OPENCLAW_BROWSER_CONTROL_URL: http://127.0.0.1:18789
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE}
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/chromium"
volumes:
- ${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw
- ${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace
- /home/jimmy/.git:/home/node/.openclaw/workspace/.git
- /home/jimmy/.ssh:/home/node/.ssh:ro
- /home/jimmy/.chaty-ssh:/home/node/.chaty-ssh:ro
ports:
- "${OPENCLAW_GATEWAY_PORT:-18789}:18789"
- "${OPENCLAW_BRIDGE_PORT:-18790}:18790"
init: true
restart: unless-stopped
command: [ "node", "dist/index.js", "gateway", "--bind", "${OPENCLAW_GATEWAY_BIND:-lan}", "--port", "18789" ]
openclaw-cli:
# image: ${OPENCLAW_IMAGE:-openclaw:local}
build:
context: .
args:
# Install chromium + dependencies for browser tool (profile: openclaw)
OPENCLAW_DOCKER_APT_PACKAGES: "chromium"
environment:
HOME: /home/node
TERM: xterm-256color
OPENCLAW_GATEWAY_URL: ws://openclaw-gateway:18789
OPENCLAW_BROWSER_CONTROL_URL: http://127.0.0.1:18789
OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN}
BROWSER: echo
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE}
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/chromium"
volumes:
- ${OPENCLAW_CONFIG_DIR}:/home/node/.openclaw
- ${OPENCLAW_WORKSPACE_DIR}:/home/node/.openclaw/workspace
stdin_open: true
tty: true
init: true
entrypoint: [ "node", "dist/index.js" ]