This process will support not only MERN apps but also any applications. But there will be details instructions for MERN. There are many ways to deploy multiple applications in a single VPS. For example, we can create subdomains, point them to the VPS...

Markdown supported · ⌘↵ to post
Kariuki George
making the hard concepts simple for everyone
Cool stuff. I have a similar setup. I use Traefik instead of Nginx and it's amazing. With a few labels in my docker-compose or docker run ... , the Traefik container automatically picks up a new project and its specification. So, there is no need to adjust the nginx.conf in your case every time I have a new project. Also, Traefik supports automatic routing via a whole domain instead of /path.