axiomata-deploy

在约15分钟内部署公共网站(HTML + Docker + DNS + 域名)。触发词:'deploy website'、'build and deploy'、'create web presence'、'launch site'、'deploy to web'、'publish website'、'setup web server'、'docker deploy'、'domain setup'、'DNS configuration'、'full stack deploy'。适用于想要快速、自主部署管道的用户。

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 "axiomata-deploy" with this command: npx skills add kofna3369/chinese-axiomata-deploy

🌐 Axiomata Deploy — 网站部署技能

在约15分钟内部署公共网站

信息
版本1.0.0 — 2026-05-07
状态运行中

1. 目的和范围

目标

为任何 OpenClaw 代理提供使用 Docker、DNS 和域名配置部署公共网站的能力。

使用时机

触发器行动
"部署网站"开始部署流程
"创建网站"初始化网站项目
"Docker 部署"构建并推送 Docker 镜像
"域名设置"配置 DNS
"完整栈部署"执行完整部署管道

2. 部署架构

┌─────────────────────────────────────────────┐
│           网站部署架构                      │
├─────────────────────────────────────────────┤
│  1. 前端 (HTML/CSS/JS)                     │
│     → 静态网站或 SPA                        │
│                                             │
│  2. Docker 容器化                           │
│     → nginx 或自定义容器                    │
│                                             │
│  3. DNS 配置                                │
│     → A 记录指向服务器 IP                  │
│                                             │
│  4. 域名                                    │
│     → 指向公共端点                          │
└─────────────────────────────────────────────┘

3. 部署步骤

步骤 1:准备网站文件

# 创建网站目录
mkdir -p ~/websites/<project-name>
cd ~/websites/<project-name>

# 创建 index.html
cat > index.html << 'EOF'
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>我的网站</title>
</head>
<body>
    <h1>你好,世界!</h1>
</body>
</html>
EOF

步骤 2:创建 Dockerfile

cat > Dockerfile << 'EOF'
FROM nginx:alpine
COPY . /usr/share/nginx/html
EXPOSE 80
EOF

步骤 3:构建 Docker 镜像

# 构建镜像
docker build -t <username>/<project-name>:latest .

# 测试本地运行
docker run -d -p 8080:80 <username>/<project-name>:latest

步骤 4:推送到镜像仓库

# 登录 Docker Hub
docker login

# 推送
docker push <username>/<project-name>:latest

步骤 5:服务器部署

# 在服务器上拉取
docker pull <username>/<project-name>:latest

# 运行容器
docker run -d -p 80:80 --name <project-name> <username>/<project-name>:latest

步骤 6:DNS 配置

1. 登录域名注册商
2. 添加 DNS 记录:
   - A 记录:@ → <服务器IP>
   - CNAME:www → @
3. 等待 DNS 传播(5分钟-48小时)

4. 工具要求

工具用途必需
exec执行 Docker 命令
write创建文件
read读取配置可选

必需环境

环境要求
Docker已安装
Docker Hub 账户已有
服务器SSH 访问
域名已注册

5. 快速部署模板

# 一键部署
PROJECT=<project-name>
USERNAME=<dockerhub-username>
DOMAIN=<domain.com>

# 1. 创建项目
mkdir -p ~/$PROJECT && cd ~/$PROJECT

# 2. 创建网站文件
cat > index.html << 'EOF'
<!DOCTYPE html>
<html>
<head><title>$PROJECT</title></head>
<body><h1>$PROJECT 已上线!</h1></body>
</html>
EOF

# 3. Dockerfile
echo 'FROM nginx:alpine COPY . /usr/share/nginx/html EXPOSE 80' > Dockerfile

# 4. 构建并推送
docker build -t $USERNAME/$PROJECT:latest .
docker push $USERNAME/$PROJECT:latest

echo "部署完成!镜像:$USERNAME/$PROJECT:latest"

6. 边缘情况

情况处理方法
Docker 未安装先安装 Docker
域名被占用使用子域名
服务器无 SSH配置 SSH 密钥
端口冲突更改容器端口映射
DNS 未传播使用 IP 直接测试

7. 验证

# 检查容器运行
docker ps | grep <project-name>

# 检查网站响应
curl -I https://<domain.com>

# 检查 SSL(如果使用 HTTPS)
openssl s_client -connect <domain.com>:443

In Altum Per Deploy. 🌐 Axiomata Deploy v1.0

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

Obsidian Cleaner

Automatically clean up loose images and attachments in Obsidian vault root, moving them to the Attachments folder. Trigger when user says "clean obsidian", "clean attachments", or "整理附件".

Registry SourceRecently Updated
General

tradealpha实时新闻

获取 TradeAlpha 实时新闻和语义检索结果。适用于用户提到 TradeAlpha 新闻、今日新闻、路透、彭博、Truth、国内资讯、研报快讯,或要求按主题、事件、公司、叙事检索相关新闻的场景。通过聊天向用户索取 token,并在当前会话中复用,不读取环境变量,不写入本地文件。

Registry SourceRecently Updated
General

Everclaw — Inference You Own

Open-source first AI inference — GLM-5 as default, Claude as fallback only. Own your inference forever via the Morpheus decentralized network. Stake MOR toke...

Registry SourceRecently Updated
General

Identitygram Signin

Sign in to IdentityGram by calling the /auth/signin endpoint.

Registry SourceRecently Updated