Answer the question
In order to leave comments, you need to log in
Running multiple versions of a node.js app on the same server?
What is the best way to organize the work of several versions of one node.js application on a production server?
Run each application version on a separate port? Is there any way to automate this? How to raise this after restarting the server?
It would be ideal to have some kind of utility that would itself monitor the work of each version of the application based on the repository tags. For example, if you add a new tag - a new application instance, if you delete a tag - the application closes.
Perhaps there are already some tools for this?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
In order for the application to rise after (re)launching the production server, it is necessary to register its launch in some autorun script on this machine: it seems to me that humanity has not yet managed to invent anything better in this regard.
The question about tracking and restarting is answered in the Restarting and continuous running section on the Node modules
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question