openaec-foundation/frappe_claude_skill_package/frappe-ops-deployment
Claude Code and agent skill by openaec-foundation/frappe_claude_skill_package
- community
Checking that the SKILL.md file is still in the repository.
Use when deploying Frappe/ERPNext to production, configuring Nginx or Supervisor, setting up Docker, enabling SSL, or hardening security. Prevents insecure deployments, missing reverse proxy config, and broken process management. Covers production setup, Nginx configuration, Supervisor/systemd, Docker Compose, Let's Encrypt SSL, firewall rules, security hardening. Keywords: deployment, production, nginx, supervisor, docker, ssl, letsencrypt, security, gunicorn, systemd, go live, production setup, HTTPS setup, server config, deploy to VPS, Docker setup..
Install
npx vskill@latest install openaec-foundation/frappe_claude_skill_package/frappe-ops-deploymentSKILL.md
The same SKILL.md was published earlier as openaec-foundation/frappe_claude_skill_package/frappe-ops-deployment.
Production Deployment
Deploy Frappe/ERPNext to production using either traditional (bench + Nginx + Supervisor) or Docker (frappe_docker + Compose). Frappe officially recommends Docker for new deployments.
Quick Reference
Deployment Decision Tree
Traditional Deployment
Process Architecture
Step-by-Step Setup
Nginx Configuration
bench setup nginx generates config/nginx.conf with:
- Server block per site (DNS multitenancy)
- Proxy to gunicorn on port 8000
- WebSocket proxy to socketio on port 9000
- Static file serving from
sites/directory - Client max body size (default varies by version)
ALWAYS disable default nginx site to avoid port 80 conflicts:
Supervisor Configuration
bench setup supervisor generates config/supervisor.conf with:
--skip-redisflag to skip Redis if managed externally
For CentOS/RHEL: use .ini extension instead of .conf for supervisor configs.
SSL / HTTPS
Let's Encrypt (Recommended)
Prerequisites:
- DNS multitenancy enabled (
bench config dns_multitenant on) - Domain resolves to server IP
- Port 80 open for ACME challenge
- Root/sudo access
Certificate locations: /etc/letsencrypt/live/example.com/
fullchain.pem— certificate + chainprivkey.pem— private key
Certificates expire every 90 days. The setup command adds a monthly cron for renewal.
Custom SSL Certificate
All HTTP traffic is automatically redirected to HTTPS after SSL is configured.
DNS Multitenancy (Multi-Site)
ALWAYS use the actual domain as the site name. Nginx routes requests to the correct site based on the Host header.
Docker Deployment
Architecture (frappe_docker)
Production Docker Compose
Custom Image Build
Security Hardening
Firewall (UFW)
Fail2Ban
Redis Authentication
Additional Hardening
- ALWAYS disable root SSH login (
PermitRootLogin noin/etc/ssh/sshd_config) - ALWAYS use SSH key authentication, disable password auth
- NEVER run bench as root — create a dedicated
frappeuser - ALWAYS keep system packages updated (
sudo apt update && sudo apt upgrade) - ALWAYS set
ALLOW_CORSonly to trusted domains insite_config.json
Zero-Downtime Updates
Version Differences
| Feature | v14 | v15 | v16 | |
|---|---|---|---|---|
| Docker recommended | No | Official recommendation | Yes | |
create-rq-users | No | Yes | Yes | |
| ARM64 Docker images | No | Yes | Yes | |
| Site-level logs | v13+ | Yes | Yes | |
extend_doctype_class | No | No | Yes |
Reference Files
| File | Contents | |
|---|---|---|
| examples.md | Complete deployment scripts and configs | |
| anti-patterns.md | Common deployment mistakes | |
| workflows.md | Step-by-step deployment workflows |
Related Skills
frappe-ops-backup— Backup and disaster recoveryfrappe-ops-performance— Performance tuningfrappe-ops-bench— Bench CLI referencefrappe-ops-upgrades— Version upgrade procedures
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/source/ops/frappe-ops-deployment/SKILL.md
Popularity
- Repository stars
- 88
- Repository forks
- 25
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openaec-foundation/frappe_claude_skill_package/frappe-ops-deployment)