Files
labplus-server/pm2.config.cjs

19 lines
437 B
JavaScript
Raw Normal View History

2024-01-15 00:32:02 +08:00
module.exports = {
apps: [{
name: "labplus-server",
script: "./src/index.js",
watch: [
"src"
],
ignore_watch: [
"node_modules"
],
env: {
2024-01-15 00:35:31 +08:00
"NODE_ENV": "production",
"PORT": 80,
2024-01-19 18:53:39 +08:00
"DATABASE_URL": "localhost:27017",
2024-01-19 19:07:48 +08:00
"DATABASE_USER": "labplus_admin",
"DATABASE_PASSWORD": "******",
2024-01-15 00:32:02 +08:00
}
}]
}