# pm2 **Repository Path**: kingecg/pm2 ## Basic Information - **Project Name**: pm2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-13 - **Last Updated**: 2023-12-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pm2 create docker for run pm2 add pm2 web Usage: - first mount a vloume at /apps - put your app into apps and a file named ecosystem.config.js - expose port 9000, this is pm2-web port ```javascript module.exports = { apps : [{ name:'pm2-web', script:'../pm2-web/pm2-web.js' },{ name: "app", script: "./index.js", env: { NODE_ENV: "development", }, env_production: { NODE_ENV: "production", } }] } ``` then you can monitor from web