Package Manager functions to create
Standardization and automation in the installation, update, configuration and deletion processes. Dewacloud has two types of Package Managers: npm – helps manage your project by installing required modules, packages, and additional applications. yarn – performs the same operations as npm (so the application doesn't need to be changed at all), but at much higher speed. Dewacloud by default uses npm Package Manager, but you can easily change it to yarn . To change Package Manager to yarn , you need to access the container variables and change the PACKAGE_MANAGER column to yarn (or vice versa).Also read: How to Install Node.js and Deploy App on Debian 9 5. Node.js Process Managers Process Managers give you the ability to take full control of the application lifecycle, monitor running services, and maintain project operability. You can America Mobile Number List use several types of process managers on Dewacloud: npm – starts and configures multiple processes. pm2 – provides a selection of application management features, including monitoring running Node.js processes. forever – runs the Node.js process continuously and automatically restarts it when a failure occurs. supervisor – monitors changes to running applications and automatically restarts them if necessary to keep them up-to-date.
https://lh7-us.googleusercontent.com/wBH9legmXEYLtN4Wc8yPbsbDTBHB5i8c6fhNLni3dSslj5UMZQS4byPJjh0k8F2R7WidB4NNKZL8HOqjPUfj3eWoaYyDoKyy2fMjJqv8QSKiMoSoKszwczES4uTJCFvXG_MwEDOmdXbgjl_cqVk56JM
You can select the required process manager when running container redeployment or by selecting the PROCESS_MANAGER variable with the desired type (restart required to activate changes). 6. Domain Management You can easily add custom domains to your Node.js application. You can use two methods to add a domain to your environment: CNAME redirect : Use this option if you are using a Shared Load Balancer.Recommended for environments that are still in the development or experimental stage. DNS A Record : Use this option if you use Public IP.
頁:
[1]