-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 983 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 983 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
34
services:
openclaw:
build:
context: .
dockerfile: Dockerfile
ports:
# Think twice if you want to change the binding to all IPs (0.0.0.0)
- "127.0.0.1:${OPENCLAW_PORT}:18789" # Gateway UI (Localhost only)
- "127.0.0.1:${OPENCLAW_BRIDGE_PORT}:18790" # Browser Bridge (Localhost only)
volumes:
- ./config:/home/node/.openclaw
- ./workspace:/home/node/.openclaw/workspace
environment:
- OPENCLAW_CONFIG_DIR=/home/node/.openclaw
- OPENCLAW_WORKSPACE_DIR=/home/node/.openclaw/workspace
working_dir: /app/openclaw
stdin_open: true
tty: true
# Command to start the gateway
command: openclaw gateway --bind lan --port 18789
depends_on:
- browserless
browserless:
image: browserless/chrome:latest
restart: unless-stopped
ports:
- "127.0.0.1:${BROWSERLESS_PORT}:3000"
shm_size: '2gb'
environment:
- CONCURRENT_SESSIONS=10
volumes:
openclaw_node_modules: