Dev Tools · 1h ago
Zero-downtime deploys for self-hosted apps without Kubernetes
A developer outlines how to achieve zero-downtime deployments and one-click rollbacks for self-hosted apps using atomic symlink switches and reverse proxy tricks, without Kubernetes. The technique splits deployment into staging and atomic switch phases, eliminating the 502 error window. It covers file artifacts, Docker containers, and includes a caveat about long-running processes needing restarts.
Meridian48 take
While the atomic symlink approach is clever, the article glosses over the complexity of stateful services and database migrations that often cause real downtime.
Read the full reporting
Zero-downtime deploys and one-click rollback for self-hosted apps — no Kubernetes →
DEV Community
zero-downtime-deploymentself-hosted-apps