Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 0 additions & 53 deletions apps/moltbot/.env

This file was deleted.

50 changes: 0 additions & 50 deletions apps/moltbot/docker-compose.yml

This file was deleted.

21 changes: 0 additions & 21 deletions apps/moltbot/variables.json

This file was deleted.

87 changes: 87 additions & 0 deletions apps/openclaw/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
W9_REPO=websoft9dev/openclaw
W9_DIST='community'
W9_VERSION='2026.3.11-wecom'

# =========================================================
# Authentication
# W9_POWER_PASSWORD is used as OPENCLAW_GATEWAY_TOKEN
# After startup, paste this token in the Control UI (Settings → Token)
# =========================================================
W9_POWER_PASSWORD=1PrMxExC45LsCT

# =========================================================
# Ports
# W9_HTTP_PORT_SET: host port for Gateway Control UI + WS API (internal: 18789)
# W9_BRIDGE_PORT_SET: host port for browser/bridge control service (internal: 18790)
# Access Control UI: http://localhost:$W9_HTTP_PORT_SET/
# =========================================================
W9_HTTP_PORT_SET='9001'
W9_BRIDGE_PORT_SET='18790'

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####

# =========================================================
# System (managed by Websoft9, do not modify)
# =========================================================
W9_ID='openclaw'
W9_HTTP_PORT=18789
W9_BRIDGE_PORT=18790
W9_URL='internet_ip:$W9_HTTP_PORT_SET'
W9_NETWORK=websoft9

#### ---------------------------------------------------------------------------- ####

# =========================================================
# Application-specific settings
# =========================================================

# Gateway token (= W9_POWER_PASSWORD). Paste in Control UI → Settings → Token
OPENCLAW_GATEWAY_TOKEN=$W9_POWER_PASSWORD

# Gateway bind mode. 'lan' is required for Docker port mapping to work.
OPENCLAW_GATEWAY_BIND=lan

# Allow insecure private WebSocket connections (leave empty unless needed)
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=

# =========================================================
# AI Providers (国内主流大模型 API 配置)
# 填写任意一个模型的 API Key 即可启用,支持多个同时配置
# W9_*_SET 变量会在应用商店 UI 中显示,用户可直接填写
# =========================================================

# DeepSeek — 国产高性价比大模型
# Get key: https://platform.deepseek.com/api_keys
W9_DEEPSEEK_API_KEY_SET=

# 百度文心一言 (Baidu ERNIE)
# Get key: https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application
W9_BAIDU_API_KEY_SET=
W9_BAIDU_SECRET_KEY_SET=

# 阿里通义千问 (Alibaba Qwen)
# Get key: https://dashscope.console.aliyun.com/apiKey
W9_ALIBABA_API_KEY_SET=

# Moonshot/Kimi — 长文本专家 (200K context)
# Get key: https://platform.moonshot.cn/console/api-keys
W9_MOONSHOT_API_KEY_SET=

# ─────────────────────────────────────────────────────────
# 企业微信 (WeCom) — @sunnoy/wecom (社区增强插件)
# ─────────────────────────────────────────────────────────
# WebSocket 长连接模式,无需回调 URL 和 Token/AESKey
# 创建位置: 企业微信管理后台 → 应用管理 → 智能机器人 → 创建机器人 → 长连接模式
# 参考文档: https://open.work.weixin.qq.com/help2/pc/cat?doc_id=21657
W9_WECOM_BOT_ID_SET=
W9_WECOM_BOT_SECRET_SET=

# 私聊准入策略: open=所有成员免审批 | pairing=新用户需管理员approve | disabled=禁用私聊
W9_WECOM_DM_POLICY_SET=open

# 自建应用 (Agent) — 可选,用于发送文件/图片/主动推送到部门/标签
# 创建位置: 企业微信管理后台 → 应用管理 → 自建 → 创建应用
# 注意: 需在「企业可信IP」中添加服务器 IP,无需配置接收消息回调
W9_WECOM_AGENT_CORP_ID_SET=
W9_WECOM_AGENT_SECRET_SET=
W9_WECOM_AGENT_ID_SET=
File renamed without changes.
File renamed without changes.
89 changes: 89 additions & 0 deletions apps/openclaw/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# image: https://github.com/openclaw/openclaw/pkgs/container/openclaw
# docs: https://docs.openclaw.ai/install/docker

services:
openclaw:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
restart: unless-stopped
init: true
user: root
entrypoint: [ "/docker-entrypoint.sh" ]
command: [ "node", "dist/index.js", "gateway", "--bind", "${OPENCLAW_GATEWAY_BIND:-lan}", "--port", "18789" ]
ports:
- $W9_HTTP_PORT_SET:18789
- $W9_BRIDGE_PORT_SET:18790
env_file: .env
environment:
- HOME=/home/node
- TERM=xterm-256color
- OPENCLAW_GATEWAY_TOKEN=$W9_POWER_PASSWORD
- OPENCLAW_GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND}
- OPENCLAW_GATEWAY_PORT=18789
- OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=${OPENCLAW_ALLOW_INSECURE_PRIVATE_WS:-}
volumes:
- openclaw_agents:/home/node/.openclaw/agents
- openclaw_workspace:/home/node/.openclaw/workspace
- openclaw_canvas:/home/node/.openclaw/canvas
- openclaw_cron:/home/node/.openclaw/cron
- openclaw_queue:/home/node/.openclaw/delivery-queue
- ./src/init.js:/init.js:ro
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: 10s
retries: 3
start_period: 30s

# Optional CLI service for channel setup and management commands.
# Not started by default. Usage:
# docker compose --profile cli run --rm openclaw-cli channels login
# docker compose --profile cli run --rm openclaw-cli config set <key> <value>
# docker compose --profile cli run --rm openclaw-cli devices list
openclaw-cli:
image: $W9_REPO:$W9_VERSION
container_name: ${W9_ID}-cli
network_mode: "service:openclaw"
profiles:
- cli
cap_drop:
- NET_RAW
- NET_ADMIN
security_opt:
- no-new-privileges:true
environment:
- HOME=/home/node
- TERM=xterm-256color
- OPENCLAW_GATEWAY_TOKEN=$W9_POWER_PASSWORD
- OPENCLAW_GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND}
- OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=${OPENCLAW_ALLOW_INSECURE_PRIVATE_WS:-}
- BROWSER=echo
volumes:
- openclaw_agents:/home/node/.openclaw/agents
- openclaw_workspace:/home/node/.openclaw/workspace
- openclaw_canvas:/home/node/.openclaw/canvas
- openclaw_cron:/home/node/.openclaw/cron
- openclaw_queue:/home/node/.openclaw/delivery-queue
stdin_open: true
tty: true
init: true
entrypoint: [ "node", "dist/index.js" ]
depends_on:
- openclaw

volumes:
openclaw_agents:
openclaw_workspace:
openclaw_canvas:
openclaw_cron:
openclaw_queue:


networks:
default:
name: ${W9_NETWORK}
external: true
File renamed without changes.
21 changes: 21 additions & 0 deletions apps/openclaw/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "openclaw",
"trademark": "OpenClaw",
"release": true,
"fork_url": "https://github.com/openclaw/openclaw",
"version_from": "https://github.com/openclaw/openclaw/releases",
"edition": [
{
"dist": "community",
"version": [
"2026.3.11-wecom"
]
}
],
"requirements": {
"cpu": "2",
"memory": "2",
"disk": "10",
"url": "https://openclaw.ai"
}
}
Loading