32 lines
650 B
JavaScript
32 lines
650 B
JavaScript
module.exports = {
|
|
apps: [{
|
|
name: "llm-proxy-api",
|
|
script: "node_modules/.bin/next",
|
|
args: "start -p 3000",
|
|
env: {
|
|
NODE_ENV: "production",
|
|
},
|
|
instances: 1,
|
|
autorestart: true,
|
|
max_memory_restart: "512M",
|
|
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
|
watch: ["src", "scripts", "package.json", "next.config.ts", ".env"],
|
|
watch_delay: 1000,
|
|
watch_options: {
|
|
followSymlinks: false,
|
|
usePolling: true,
|
|
interval: 1000,
|
|
},
|
|
ignore_watch: [
|
|
"node_modules",
|
|
".next",
|
|
".git",
|
|
"logs",
|
|
"dist",
|
|
"build",
|
|
"coverage",
|
|
"public",
|
|
],
|
|
}],
|
|
};
|