diff --git a/apps/openclaw/2026.3.7/data.yml b/apps/openclaw/2026.3.7/data.yml new file mode 100644 index 000000000..0ea480071 --- /dev/null +++ b/apps/openclaw/2026.3.7/data.yml @@ -0,0 +1,32 @@ +additionalProperties: + formFields: + - default: "/home/openclaw" + edit: true + envKey: OPENCLAW_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 18789 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: 18790 + edit: true + envKey: PANEL_APP_PORT_RPC + labelZh: RPC 端口 + labelEn: RPC port + required: true + rule: paramPort + type: number + - default: "" + edit: false + envKey: OPENCLAW_GATEWAY_TOKEN + labelZh: 网关 token + labelEn: Gateway token + required: true + type: password diff --git a/apps/openclaw/2026.3.7/docker-compose.yml b/apps/openclaw/2026.3.7/docker-compose.yml new file mode 100644 index 000000000..fd8d52d3f --- /dev/null +++ b/apps/openclaw/2026.3.7/docker-compose.yml @@ -0,0 +1,73 @@ +networks: + 1panel-network: + external: true + +services: + openclaw: + image: ghcr.io/openclaw/openclaw:2026.3.7 + container_name: ${CONTAINER_NAME} + user: node:node + labels: + createdBy: "Apps" + restart: always + init: true + command: + [ + "node", + "dist/index.js", + "gateway", + "--bind", + "${OPENCLAW_GATEWAY_BIND:-lan}", + "--port", + "18789", + ] + ports: + - ${PANEL_APP_PORT_HTTP}:18789 + - ${PANEL_APP_PORT_RPC}:18790 + env_file: + - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${OPENCLAW_ROOT_PATH}/data/config:/home/node/.openclaw + - ${OPENCLAW_ROOT_PATH}/data/workspace:/home/node/.openclaw/workspace + environment: + - TZ=Asia/Shanghai + - HOME=/home/node + - TERM=xterm-256color + healthcheck: + test: + [ + "CMD", + "node", + "-e", + "fetch('http://127.0.0.1:18789/healthz').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))", + ] + interval: 30s + timeout: 5s + retries: 5 + start_period: 20s + + openclaw-cli: + depends_on: + - openclaw + image: ghcr.io/openclaw/openclaw:2026.3.7 + container_name: ${CONTAINER_NAME}-cli + network_mode: "service:openclaw-gateway" + cap_drop: + - NET_RAW + - NET_ADMIN + security_opt: + - no-new-privileges:true + user: node:node + stdin_open: true + tty: true + init: true + entrypoint: [ "node", "dist/index.js" ] + volumes: + - ${OPENCLAW_ROOT_PATH}/data/config:/home/node/.openclaw + - ${OPENCLAW_ROOT_PATH}/data/workspace:/home/node/.openclaw/workspace + environment: + - TZ=Asia/Shanghai + - HOME=/home/node + - TERM=xterm-256color + - BROWSER=echo diff --git a/apps/openclaw/2026.3.7/envs/default.env b/apps/openclaw/2026.3.7/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/apps/openclaw/2026.3.7/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/apps/openclaw/2026.3.7/envs/global.env b/apps/openclaw/2026.3.7/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/apps/openclaw/2026.3.7/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/apps/openclaw/2026.3.7/scripts/init.sh b/apps/openclaw/2026.3.7/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/apps/openclaw/2026.3.7/scripts/init.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/openclaw/2026.3.7/scripts/uninstall.sh b/apps/openclaw/2026.3.7/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/apps/openclaw/2026.3.7/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/openclaw/2026.3.7/scripts/upgrade.sh b/apps/openclaw/2026.3.7/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/apps/openclaw/2026.3.7/scripts/upgrade.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + sed -i '/^GLOBAL_ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/openclaw/README.md b/apps/openclaw/README.md new file mode 100644 index 000000000..504b5db85 --- /dev/null +++ b/apps/openclaw/README.md @@ -0,0 +1,18 @@ +# OpenClaw + +适用于任何操作系统的 AI 智能体 Gateway 网关,支持 WhatsApp、Telegram、Discord、iMessage 等 + +![OpenClaw](https://file.lifebus.top/imgs/openclaw_banner.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 简介 + +> “去壳!去壳!” — 大概是一只太空龙虾说的 + +OpenClaw 通过单个 Gateway 网关进程将聊天应用连接到 Pi 等编程智能体。它为 OpenClaw 助手提供支持,并支持本地或远程部署。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) +![Ms Studio](https://analytics.lifebus.top/p/wJix5nI1W) diff --git a/apps/openclaw/data.yml b/apps/openclaw/data.yml new file mode 100644 index 000000000..30dd980d7 --- /dev/null +++ b/apps/openclaw/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + key: openclaw + name: OpenClaw + tags: + - WebSite + - Local + shortDescZh: 您自己的个人AI助手。任何操作系统。任何平台。小龙虾计划。 🦞 + shortDescEn: Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞 + type: website + crossVersionUpdate: true + limit: 0 + website: https://openclaw.ai/ + github: https://github.com/openclaw/openclaw/ + document: https://docs.openclaw.ai/ + architectures: + - amd64 + - arm64 diff --git a/apps/openclaw/logo.png b/apps/openclaw/logo.png new file mode 100644 index 000000000..525515be7 Binary files /dev/null and b/apps/openclaw/logo.png differ diff --git a/apps/openclaw/logo.svg b/apps/openclaw/logo.svg new file mode 100644 index 000000000..bcbc1e10c --- /dev/null +++ b/apps/openclaw/logo.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + +