Openclaw Deploy

# SKILL.md 元数据格式示例

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Openclaw Deploy" with this command: npx skills add zfanmy/openclaw-deploy

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:

  • 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

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

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

Deploy to Remote Server

# 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

# 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:

# 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

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-梦月儿

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

baidu-search

Comprehensive search API integration for Baidu Qianfan Web Search. Use when Claude needs to perform web searches using Baidu Qianfan's enterprise search API....

Registry SourceRecently Updated
General

Self Memory Manager

管理 Claude 的记忆和工作流程优化。包括:(1) Context 使用管理 (2) 重要信息存档 (3) 定时总结 (4) 工作文件夹维护 用于:context 超过 80%、重要信息需要记录、每日总结、清理旧 session

Registry SourceRecently Updated
General

Seedance Video

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame,...

Registry SourceRecently Updated