-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (56 loc) · 1.91 KB
/
docker-compose.yml
File metadata and controls
66 lines (56 loc) · 1.91 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
61
62
63
64
65
66
name: openclaw-webtop
services:
openclaw-webtop:
# Uses the specific Ubuntu-based MATE tag from LinuxServer.io
image: ${DOCKER_URI:-ghcr.io/gitricko/openclaw-webtop:latest}
container_name: openclaw-webtop
# Optional: Needed for some modern GUI apps to function properly on older hosts/kernels
# security_opt:
# - seccomp:unconfined
environment:
# Set your User ID and Group ID to match the host user (run 'id $USER' in your terminal)
- PUID=${DOCKER_PUID:-501}
- PGID=${DOCKER_PGID:-20}
# Set your timezone
- TZ=America/New_York
- SUBFOLDER=/ # Optional: for reverse proxies
volumes:
# Change /path/to/data to the directory on your host for persistent config/files
- openclaw-webtop-config:/config
- .:/codespace
# Uncomment the next line if you want to run Docker inside Webtop
- /var/run/docker.sock:/var/run/docker.sock
ports:
# Access the Webtop GUI on port 3000 (http)
- 3000:3000
# Optional: Access the Webtop GUI on port 3001 (https)
- 3001:3001
# OpenClaw specific ports (adjust as needed)
- 18789:18789
# Recommended to prevent modern web browsers from crashing
shm_size: "1gb"
# Ensures the container restarts automatically unless you explicitly stop it
restart: unless-stopped
networks:
- openclaw-webtop-net
webai-api:
image: ghcr.io/leolionart/webai-to-api:latest
container_name: webai-api
restart: unless-stopped
ports:
- "6969:6969"
profiles:
- webai-api
environment:
- PYTHONPATH=/app/src
- CONFIG_PATH=/app/data/config.conf
command: uvicorn app.main:app --host 0.0.0.0 --port 6969 --workers 3 --log-level info
networks:
- openclaw-webtop-net
networks:
openclaw-webtop-net:
driver: bridge
volumes:
openclaw-webtop-config:
external: false
name: openclaw-webtop-config