2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 02:07:12 +08:00

feat: 添加openclaw

This commit is contained in:
2026-01-30 18:36:59 +08:00
parent 13ca1402e6
commit 7c2a40a760
3 changed files with 72 additions and 0 deletions

37
openclaw/data.yml Executable file
View File

@@ -0,0 +1,37 @@
name:
en: OpenClaw
zh_CN: OpenClaw
zh_TW: OpenClaw
categories:
- ai
- tool
description:
en: Your own personal AI assistant. Any OS. Any Platform.
zh_CN: 你自己的个人 AI 助手。任何操作系统。任何平台。
zh_TW: 你自己的個人 AI 助手。任何操作系統。任何平台。
website: https://openclaw.ai/
architectures:
- amd64
- arm64
environments:
OPENCLAW_GATEWAY_PORT:
description:
en: Gateway Port
zh_CN: 网关端口
zh_TW: 網關端口
type: port
default: 18789
OPENCLAW_BRIDGE_PORT:
description:
en: Bridge Port
zh_CN: 桥接端口
zh_TW: 橋接端口
type: port
default: 18790
OPENCLAW_GATEWAY_TOKEN:
description:
en: Gateway Token
zh_CN: 网关令牌
zh_TW: 網關令牌
type: password
default:

View File

@@ -0,0 +1,35 @@
services:
openclaw:
# You need to run `node dist/index.js onboard` to initialize the config files after the first launch.
image: ghcr.io/openclaw/openclaw:latest
environment:
HOME: /home/node
TERM: xterm-256color
BROWSER: echo
OPENCLAW_GATEWAY_TOKEN: "${OPENCLAW_GATEWAY_TOKEN}"
volumes:
- ./data/config:/home/node/.openclaw
- ./data/workspace:/home/node/.openclaw/workspace
ports:
- "${OPENCLAW_GATEWAY_PORT}:18789"
- "${OPENCLAW_BRIDGE_PORT}:18790"
init: true
stdin_open: true
tty: true
restart: unless-stopped
networks:
- acepanel-network
command:
[
"node",
"dist/index.js",
"gateway",
"--bind",
"lan",
"--port",
"18789",
"--allow-unconfigured"
]
networks:
acepanel-network:
external: true

BIN
openclaw/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB