Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

self-hosting自托管

Agent Skill

self-hosting 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

28,916

周安装

1,217

GitHub Stars

2

下载量

10,125
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-hosting(自托管)
来源仓库:https://github.com/ivangdavila/self-hosting
安装命令:
openclaw skills install self-hosting
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-hosting

简介

用于部署和维护自托管服务。self-hosting 属于效率类 Skill,可作为该场景下的辅助能力补充。

  • 可检查容器配置和基础设施状态。
  • 适合私有化部署环境运维支持。
  • 安装命令:openclaw skills install self-hosting
  • 需确保备份和恢复机制完备。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
Self-Host
description
Deploy and maintain self-hosted services with security, backups, and long-term reliability.
metadata
{"clawdbot":{"emoji":"🖥️","requires":{"anyBins":["docker","podman"]},"os":["linux","darwin","win32"]}}

Self-Hosting Rules

Before Installing Anything

  • Backups first — decide where data lives and how it's backed up before deploying, not after data exists
  • Check resource requirements — many services need more RAM than expected, OOM kills corrupt data
  • Verify the project is actively maintained — abandoned projects become security liabilities

Docker Fundamentals

  • Always use named volumes or bind mounts for persistent data — anonymous volumes are lost on container removal
  • Pin image versions (nginx:1.25.3 not nginx:latest) — latest changes unexpectedly and breaks setups
  • Set restart policy (unless-stopped or on-failure) — containers don't auto-start after reboot by default
  • Use docker compose down not docker compose rm — down handles networks and volumes properly

Networking

  • Never expose database ports to the internet — only the reverse proxy should be public
  • Use a reverse proxy (Traefik, Caddy, Nginx Proxy Manager) — handles SSL, routing, and security in one place
  • Create Docker networks per project — default bridge network lacks DNS resolution between containers
  • Bind admin interfaces to localhost only (127.0.0.1:8080:8080) — not all traffic needs to be public

SSL and Domains

  • Use automatic SSL with Let's Encrypt — Caddy and Traefik do this natively
  • For local/LAN access, use a real domain with DNS challenge — avoids browser certificate warnings
  • Wildcard certificates simplify multi-service setups — one cert for *.home.example.com

Security Essentials

  • Change all default passwords immediately — bots scan for default credentials within hours
  • Enable automatic security updates for the host OS — unpatched systems get compromised
  • Use fail2ban or equivalent — brute force attacks are constant
  • Keep services behind authentication (Authelia, Authentik) — not everything has built-in auth
  • Disable root SSH, use key-only authentication — password SSH is a vulnerability

Backups

  • Test restores, not just backups — untested backups are wishful thinking
  • 3-2-1 rule: 3 copies, 2 different media, 1 offsite — local RAID is not backup
  • Automate backup schedules — manual backups get forgotten
  • Back up Docker volumes, not containers — containers are ephemeral, data is not

Monitoring

  • Set up uptime monitoring (Uptime Kuma is self-hostable) — know when services die before users tell you
  • Monitor disk space — full disks cause silent failures and corruption
  • Log rotation is mandatory — Docker logs grow forever by default, fill disks
  • Consider resource monitoring (Netdata, Prometheus) — spot problems before they're critical

Maintenance

  • Schedule regular update windows — services need updates, plan for downtime
  • Document everything you deploy — future you won't remember why that container exists
  • Keep a compose file repo — reproducibility matters when hardware fails
  • Test updates on staging when possible — production surprises are painful

Home Server Specifics

  • Dynamic DNS if ISP doesn't provide static IP — Cloudflare, DuckDNS work well
  • UPS protects against power loss corruption — especially important for databases
  • Consider power consumption — some hardware costs more in electricity than cloud hosting
  • Port forwarding exposes your home network — use VPN (WireGuard, Tailscale) instead when possible

Common Mistakes

  • Putting everything on one machine with no redundancy — single point of failure for all services
  • Ignoring updates for months — security vulnerabilities accumulate
  • No firewall rules — assuming "nobody knows my IP" is security
  • Storing secrets in docker-compose.yml committed to git — use .env files, exclude from version control
  • Over-engineering from day one — start simple, add complexity when needed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.54%
按下载量换算8,965

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills