conf: pm2 新增两个 env

This commit is contained in:
2024-01-15 00:35:31 +08:00
parent 52085f21b5
commit de16667568

View File

@@ -9,7 +9,9 @@ module.exports = {
"node_modules"
],
env: {
"NODE_ENV": "production"
"NODE_ENV": "production",
"PORT": 80,
"DATABASE_URL": "mongodb://localhost:27017/labplus"
}
}]
}