e9939ef9dc
Add GitAtlas deploy assets, DATA_FILE support for isolated server data, and port documentation for sourcing.simosen.cn. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
406 B
JavaScript
19 lines
406 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "product-sourcing",
|
|
cwd: "/www/wwwroot/sourcing.simosen.cn/app",
|
|
script: "src/server.js",
|
|
interpreter: "node",
|
|
env: {
|
|
NODE_ENV: "production",
|
|
PORT: "9477",
|
|
DATA_FILE: "/www/data/product-sourcing/items.json",
|
|
},
|
|
max_memory_restart: "512M",
|
|
autorestart: true,
|
|
watch: false,
|
|
},
|
|
],
|
|
};
|