zfanmy

Openclaw Deploy

運維安全v1.0.4
作者:zfanmy更新於 2026-05-18共 5 個版本 · 最新版本釋出於 2026-02-17openclaw-deploy@clawhub_zfanmy/openclaw-deploy
伺服器運維DevOps#Deploy#Docker

據 AlphaMoat 統計,截至 2026-10,Openclaw Deploy 累計下載 6,348 次、獲 0 個星標,按累計下載量在本次參與排名的 5,109 個 AI 技能中排名第 2,112 位,在「運維安全」分類(275 個)中排名第 107 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
6348
星標
-
全站下載量排名
#2,112
全站前 42% · 「運維安全」前 39%
平台累計下載星標評論
ClawHub ↗3506--
SkillHub ↗6348-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

將OpenClaw構建為Docker映象或行動式包,支援帶或不帶個人配置的打包,便於部署到其他伺服器。

月度資料趨勢

累計下載6348
2617462166242026-05 · 累計下載 28932026-06 · 累計下載 30142026-07 · 累計下載 33042026-08 · 累計下載 34532026-09 · 累計下載 39552026-10 · 累計下載 634826-0526-0926-10
星標-
0112026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -2026-10 · 星標 -26-0526-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-106348—-
2026-093955—-
2026-083453+4.5%-
2026-073304+9.6%-
2026-063014+4.2%-
2026-052893—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.5 KB · ClawHub v1.0.4
# SKILL.md 元数据格式示例

---
name: openclaw-deploy
description: Build and deploy OpenClaw as Docker images or portable packages
author: zfanmy-梦月儿
version: 1.0.1
homepage: 
license: MIT
keywords:
展開全部(共 133 行)
  - openclaw
  - deploy
  - docker
  - portable
  - backup
  - migration
requires:
  bins:
    - node
    - npm
    - tar
---

# OpenClaw Deploy

Build and deploy OpenClaw as Docker images or portable packages.

## Features

- 🐳 Build Docker images (clean/full versions)
- 📦 Create portable packages for deployment
- 🚀 Deploy to remote servers with one command
- 💾 Backup and restore configurations

## Quick Start

### Build Portable Packages

```bash
# Build both clean and full versions
./scripts/build-portable.sh

# Export for deployment
./scripts/export-portable.sh
```

### Deploy to Remote Server

```bash
# Deploy clean version
./export/deploy.sh user@remote-server clean /opt/openclaw

# Deploy full version
./export/deploy.sh user@remote-server full /opt/openclaw
```

## Directory Structure

```
openclaw-deploy/
├── portable/clean/          # Clean version (no personal data)
├── portable/full/           # Full version (with config)
├── export/                  # Deployment packages
│   ├── openclaw-clean-portable.tar.gz
│   ├── openclaw-full-portable.tar.gz
│   └── deploy.sh
└── scripts/
    ├── build-portable.sh
    ├── export-portable.sh
    └── deploy.sh
```

## Usage on Target Server

```bash
# Install Node.js
./install-node.sh

# Start OpenClaw
cd clean && ./start.sh   # or cd full && ./start.sh

# Access WebUI
open http://localhost:18789
```

## Requirements

- Node.js 22.x
- Docker (optional, for Docker builds)
- curl, rsync (for deployment)

## Configuration

### Environment Variables

You can customize paths using environment variables:

```bash
# OpenClaw installation directory (default: auto-detect)
export OPENCLAW_INSTALL_DIR=/path/to/openclaw

# OpenClaw config directory (default: ~/.openclaw)
export OPENCLAW_CONFIG_DIR=/path/to/.openclaw

# Output directory (default: ./openclaw-portable-output)
export OUTPUT_DIR=/path/to/output
```

### Example with Custom Paths

```bash
export OPENCLAW_INSTALL_DIR=/opt/openclaw
export OPENCLAW_CONFIG_DIR=/opt/config/.openclaw
export OUTPUT_DIR=/tmp/openclaw-packages

./scripts/build-portable.sh
```

## Changelog

### v1.0.1
- Fixed hardcoded paths
- Added environment variable support
- Improved error handling and dependency checks
- Added path validation

### v1.0.0
- Initial release

## Author

zfanmy-梦月儿

「運維安全」分類下的熱門技能

zfanmy 的其他技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。