同步数据
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* PM2 配置:用于 standalone 部署的服务器
|
||||
* 启动方式:node server.js(不要用 npm start / next start,standalone 无 next 命令)
|
||||
* 使用:pm2 start ecosystem.config.cjs 或 PORT=3006 pm2 start server.js --name soul
|
||||
* 使用:pm2 start ecosystem.config.cjs 或 PORT=30006 pm2 start server.js --name soul
|
||||
*/
|
||||
module.exports = {
|
||||
apps: [
|
||||
@@ -11,7 +11,7 @@ module.exports = {
|
||||
interpreter: 'node',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3006,
|
||||
PORT: 30006,
|
||||
},
|
||||
cwd: undefined, // 以当前目录为准,部署时在 /www/wwwroot/soul
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user