-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·45 lines (42 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
executable file
·45 lines (42 loc) · 1.11 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
services:
openclaw:
image: clawbot-openclaw:latest
build:
context: .
dockerfile: docker/openclaw/Dockerfile
args:
- TARGET_ENV=${TARGET_ENV:-dev}
env_file:
- .env
volumes:
- ./openclaw:/openclaw-src:ro
- ./openclaw/workspace:/root/.openclaw/workspace
- ./AGENTS.md:/root/.openclaw/workspace/AGENTS.md:ro
ports:
- "${OPENCLAW_PORT:-18789}:18789"
environment:
- OLLAMA_BASE_URL=http://host.docker.internal:12434
- DMR_BASE_URL=http://host.docker.internal:12434/engines/v1
- OLLAMA_API_KEY=${OLLAMA_API_KEY:-ollama-local}
- OPENAI_API_KEY=${OPENAI_API_KEY}
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- openclaw-sandbox-browser
networks:
- clawbot
openclaw-sandbox-browser:
image: browserless/chrome:latest
environment:
- CONNECTION_TIMEOUT=600000
- MAX_CONCURRENT_SESSIONS=10
- PREBOOT_CHROME=true
- ENABLE_DEBUGGER=true
shm_size: 2gb
networks:
- clawbot
networks:
clawbot:
driver: bridge
nginx-proxy:
external: true