deploy

仓库创建 2026年2月12日最近提交 5 小时前SkillHot 收录 20 天前
▸ 精选理由

汇总生产部署要点,防止常见配置与运行时错误。

这个 Skill 做什么

Elixir/Phoenix 应用部署参考,涵盖 Docker、fly、runtime 配置等。

提供 Elixir/Phoenix 上线的实战参考,涵盖 Dockerfile、fly.toml、runtime.exs、mix release、CI/CD、健康检查与生产迁移等要点。配置 Fly.io、容器化部署或准备生产发布时会常用到。强调运行时配置(runtime.exs)、优雅下线等最佳实践,避免把密钥写进编译时配置,降低上线风险。

▸ 展开 SKILL.md 英文原文

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

开发编程部署Docker生产配置通用
505
Stars
34
Forks
40
仓库内 Skill
+35
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/deploy/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/deploy/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Elixir/Phoenix Deployment Reference

Quick reference for deploying Elixir/Phoenix applications.

## Iron Laws — Never Violate These

1. **Config at runtime, not compile time** — Secrets in `config.exs` get baked into the release binary. Use `runtime.exs` with env vars so secrets are resolved at boot
2. **Graceful shutdown ≥ 60 seconds** — Shorter timeouts kill in-flight requests and WebSocket connections mid-operation, causing data loss for users
3. **Health checks required** — Without startup/liveness/readiness endpoints, orchestrators can't distinguish a booting node from a dead one, leading to cascading restarts
4. **SSL verification for database** — Skipping `verify: :verify_peer` allo
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有