fix: update script path in PM2 configuration for portfolio backend
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [{
|
apps: [{
|
||||||
name: 'portfolio-backend', // A name for your application in PM2
|
name: 'portfolio-backend', // A name for your application in PM2
|
||||||
script: 'server.js', // The path to the script PM2 will run
|
script: 'backend/server.js', // The path to the script PM2 will run
|
||||||
instances: 1, // Run a single instance of the application
|
instances: 1, // Run a single instance of the application
|
||||||
autorestart: true, // Automatically restart if the app crashes
|
autorestart: true, // Automatically restart if the app crashes
|
||||||
watch: false, // Do NOT watch for file changes in production
|
watch: false, // Do NOT watch for file changes in production
|
||||||
|
|||||||
Reference in New Issue
Block a user