-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
133 lines (129 loc) · 4.51 KB
/
Copy pathdocker-compose.yml
File metadata and controls
133 lines (129 loc) · 4.51 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name: docker-openclaw
x-openclaw-agent: &openclaw-agent
build:
context: .
dockerfile: dockerfiles/dockerfile-current
init: true
restart: unless-stopped
user: "openclaw"
extra_hosts:
- host.docker.internal:host-gateway
environment:
HOME: /data/home/openclaw
OPENCLAW_BIND_MODE: loopback
OPENCLAW_HOME: /data/home/openclaw
XDG_CONFIG_HOME: /data/home/openclaw/.config
XDG_CACHE_HOME: /data/home/openclaw/.cache
XDG_STATE_HOME: /data/home/openclaw/.local/state
OPENCLAW_HOST_BRIDGE_URL: http://host.docker.internal:8787
OPENCLAW_HOST_BRIDGE_TOKEN: ${HOST_BRIDGE_TOKEN}
ZAI_API_KEY: ${ZAI_API_KEY}
services:
anhe:
<<: *openclaw-agent
container_name: openclaw-anhe
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse:/dev/fuse
security_opt:
- apparmor:unconfined
env_file:
- ./agents/anhe/agent.env
environment:
OPENCLAW_BIND_MODE: loopback
OPENCLAW_BROWSER_AUTOSTART: "1"
OPENCLAW_BROWSER_NO_SANDBOX: "1"
OPENCLAW_GOOGLE_DRIVE_ENABLE: "1"
OPENCLAW_GOOGLE_DRIVE_PATH: /mnt/google_drive
OPENCLAW_GOOGLE_DRIVE_REMOTE: "gdrive_all:"
OPENCLAW_GOOGLE_DRIVE_MODE: mount
OPENCLAW_RCLONE_AUTH_PORT: 53682
OPENCLAW_RCLONE_AUTH_PROXY_PORT: 53683
OPENCLAW_RCLONE_AUTH_HOST_PORT: 53682
OPENCLAW_HOST_WEB_PORT: ${ANHE_WEB_PORT:-3001}
OPENCLAW_HOST_BRIDGE_URL: http://host.docker.internal:8787
OPENCLAW_HOST_BRIDGE_TOKEN: ${HOST_BRIDGE_TOKEN}
OPENCLAW_GATEWAY_TOKEN: ${ANHE_GATEWAY_TOKEN}
OPENCLAW_NOVNC_PORT: ${ANHE_NOVNC_PORT:-6080}
OPENCLAW_VNC_PORT: 5900
ZAI_API_KEY: ${ZAI_API_KEY}
ports:
- "${ANHE_WEB_PORT:-3001}:3000"
- "${ANHE_NOVNC_PORT:-6080}:6080"
- "53682:53683"
volumes:
- ./agents/anhe/config:/config
- ./agents/anhe/data:/data
- ./agents/anhe/workspace:/workspace
command: ["/app/scripts/bootstrap-agent.sh", "anhe"]
muyang:
<<: *openclaw-agent
container_name: openclaw-muyang
env_file:
- ./agents/muyang/agent.env
environment:
OPENCLAW_BIND_MODE: loopback
OPENCLAW_BROWSER_AUTOSTART: "1"
OPENCLAW_BROWSER_NO_SANDBOX: "1"
OPENCLAW_GOOGLE_DRIVE_ENABLE: "1"
OPENCLAW_GOOGLE_DRIVE_PATH: /mnt/google_drive
OPENCLAW_GOOGLE_DRIVE_REMOTE: "gdrive_all:"
OPENCLAW_GOOGLE_DRIVE_MODE: mount
OPENCLAW_RCLONE_AUTH_PORT: 53682
OPENCLAW_RCLONE_AUTH_PROXY_PORT: 53683
OPENCLAW_RCLONE_AUTH_HOST_PORT: 53684
OPENCLAW_HOST_WEB_PORT: ${MUYANG_WEB_PORT:-3002}
OPENCLAW_HOST_BRIDGE_URL: http://host.docker.internal:8787
OPENCLAW_HOST_BRIDGE_TOKEN: ${HOST_BRIDGE_TOKEN}
OPENCLAW_GATEWAY_TOKEN: ${MUYANG_GATEWAY_TOKEN}
OPENCLAW_NOVNC_PORT: ${MUYANG_NOVNC_PORT:-6081}
OPENCLAW_VNC_PORT: 5900
ZAI_API_KEY: ${ZAI_API_KEY}
ports:
- "${MUYANG_WEB_PORT:-3002}:3000"
- "${MUYANG_NOVNC_PORT:-6081}:6081"
- "53684:53683"
volumes:
- ./agents/muyang/config:/config
- ./agents/muyang/data:/data
- ./agents/muyang/workspace:/workspace
command: ["/app/scripts/bootstrap-agent.sh", "muyang"]
leggey:
<<: *openclaw-agent
container_name: openclaw-leggey
env_file:
- ./agents/leggey/agent.env
environment:
OPENCLAW_BIND_MODE: loopback
OPENCLAW_BROWSER_AUTOSTART: "1"
OPENCLAW_BROWSER_NO_SANDBOX: "1"
OPENCLAW_GOOGLE_DRIVE_ENABLE: "1"
OPENCLAW_GOOGLE_DRIVE_PATH: /mnt/google_drive
OPENCLAW_GOOGLE_DRIVE_REMOTE: "gdrive_all:"
OPENCLAW_GOOGLE_DRIVE_MODE: mount
OPENCLAW_RCLONE_AUTH_PORT: 53682
OPENCLAW_RCLONE_AUTH_PROXY_PORT: 53683
OPENCLAW_RCLONE_AUTH_HOST_PORT: 53686
OPENCLAW_HOST_WEB_PORT: ${LEGGEY_WEB_PORT:-3003}
OPENCLAW_LOCALE: zh_CN.UTF-8
OPENCLAW_LANGUAGE: zh_CN:zh
OPENCLAW_LC_ALL: zh_CN.UTF-8
OPENCLAW_LC_MESSAGES: zh_CN.UTF-8
OPENCLAW_LOCALE_TIMEZONE: Asia/Shanghai
OPENCLAW_FONTS_PROFILE: cjk
OPENCLAW_HOST_BRIDGE_URL: http://host.docker.internal:8787
OPENCLAW_HOST_BRIDGE_TOKEN: ${HOST_BRIDGE_TOKEN}
OPENCLAW_GATEWAY_TOKEN: ${LEGGEY_GATEWAY_TOKEN}
OPENCLAW_NOVNC_PORT: ${LEGGEY_NOVNC_PORT:-6082}
OPENCLAW_VNC_PORT: 5900
ZAI_API_KEY: ${ZAI_API_KEY}
ports:
- "${LEGGEY_WEB_PORT:-3003}:3000"
- "${LEGGEY_NOVNC_PORT:-6082}:6082"
- "53686:53683"
volumes:
- ./agents/leggey/config:/config
- ./agents/leggey/data:/data
- ./agents/leggey/workspace:/workspace
command: ["/app/scripts/bootstrap-agent.sh", "leggey"]