← 返回
内容创作

Openclaw Deploy

Build and deploy OpenClaw as Docker images or portable packages. Package OpenClaw with or without personal configuration for easy deployment to other servers.
将 OpenClaw 构建为 Docker 镜像或便携包,便于在其他服务器部署;支持含或不含个人配置的打包方式。
zfanmy
内容创作 clawhub v1.0.4 1 版本 100000 Key: 无需
★ 0
Stars
📥 2,925
下载
💾 6
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-03-28 12:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,401
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,255
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,131