I’m looking for a step-by-step guide to deploy Frappe/ERPNext on a DigitalOcean droplet with my custom app. My current setup is messy, and I want to start fresh with a production-ready deployment.
I need guidance on:
A clean, production-ready Docker Compose setup for ERPNext, MariaDB, Redis, and Nginx.
How to properly configure Nginx to serve ERPNext without specifying a port.
How to handle HTTPS (with or without a real domain) for testing.
How to start over cleanly, removing old containers, volumes, and sites.
Any best practices for deploying ERPNext + custom apps on DigitalOcean.
I’d greatly appreciate a clear guide or example setup that I can follow to get a clean production-ready ERPNext deployment.
If you use the manual route you will need to configure it - ask AI to explain. If you use easy-install it uses Traefik
Am not sure about Digital Ocean but any vps will be tough to test from within - maybe curl command if it gives you 200 code. Otherwise you will need to reach the site through HTTPS. Better try first on your localhost laptop/desktop
Run docker prune command - ask AI
None that I know of. Search for keywords in this forum and you might get
For production deployment of ERPNext v16 with Docker (especially on a VPS like DigitalOcean), the key difference compared to development is not just the install method, but how you handle persistence, security, and updates.
In production, you should pay close attention to:
Persistent volumes for sites, assets, and database
Reverse proxy (Traefik or Nginx) with proper HTTPS
Backup strategy (database + sites volume)
Update workflow (bench update inside containers vs rebuild)
Resource sizing (RAM / swap for background workers)
If you’d like, I can outline a clean, production-ready setup specifically for a single-server DigitalOcean deployment with custom apps.