← 返回
未分类 中文

runbook-generator

Generate operational runbooks from project files. Scans Dockerfiles, docker-compose.yml, systemd units, Makefiles, package.json, and config files to produce...
从项目文件生成运维手册。扫描 Dockerfile、docker‑compose.yml、systemd 单元、Makefile、package.json 及配置文件,以生成...
charlie-morrison charlie-morrison 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 368
下载
💾 0
安装
1
版本
#latest

概述

Runbook Generator

Generate operational runbooks by scanning project infrastructure files. Produces structured Markdown runbooks with procedures for common ops tasks.

Quick Generate

python3 scripts/generate_runbook.py /path/to/project

Output Formats

# Markdown (default)
python3 scripts/generate_runbook.py /path/to/project

# JSON (structured)
python3 scripts/generate_runbook.py /path/to/project --format json

# Specific output file
python3 scripts/generate_runbook.py /path/to/project -o RUNBOOK.md

What It Scans

FileWhat It Extracts
-----------------------
DockerfileBase image, exposed ports, entrypoint, build steps
docker-compose.ymlServices, ports, volumes, dependencies, env vars
systemd units (.service)ExecStart/Stop/Reload, dependencies, restart policy
MakefileTargets (build, test, deploy, clean, etc.)
package.jsonScripts (start, build, test, dev, deploy)
.env / .env.exampleRequired environment variables
nginx.confUpstream servers, listen ports, locations

Generated Sections

  1. Overview — Service name, description, tech stack
  2. Prerequisites — Required tools, access, credentials
  3. Environment Variables — Required vars with descriptions
  4. Build — How to build the project
  5. Deploy — Step-by-step deployment procedure
  6. Start/Stop/Restart — Service lifecycle commands
  7. Health Check — How to verify the service is running
  8. Rollback — How to revert to previous version
  9. Troubleshooting — Common issues and solutions
  10. Monitoring — Logs, metrics, alerts
  11. Contacts — On-call, escalation (template)

Workflow

  1. User points to a project directory
  2. Script scans for infrastructure files
  3. Extracts operational information
  4. Generates structured runbook
  5. Present to user for review and customization

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:58

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,644
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,939
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,957