Hosting Several Client Apps on One VPS with Docker, Nginx and GitHub Actions
Most small agencies and freelancers end up in the same place: a pile of small client projects. A Next.js marketing site here, a Laravel admin panel there, a Node API for a mobile app, a couple of staging copies. Paying for a separate managed platform for each one adds up fast, and a Kubernetes cluster is far more machinery than a handful of small apps need. This post walks through the setup we…
Small agencies and freelancers often find themselves managing multiple client projects across various platforms, which quickly becomes expensive. Instead of paying for individual managed platforms for each project, one approach is to run several small apps on a single Virtual Private Server (VPS). This can be achieved using Docker Compose, Nginx as a reverse proxy, separate database containers for each engine, and GitHub Actions for automated deployments.
The setup described in the article focuses on simplicity and ease of debugging, making it ideal for small-scale projects.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.