32c8f4b156
Web-based TCP/UDP port checker with firewall/GFW diagnosis, PM2 deployment config, and Ubuntu one-click install script. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
509 B
JavaScript
22 lines
509 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "cpcheck",
|
|
script: "venv/bin/uvicorn",
|
|
args: "app.main:app --host 0.0.0.0 --port 5230",
|
|
cwd: "/opt/cpcheck",
|
|
interpreter: "none",
|
|
instances: 1,
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: "200M",
|
|
env: {
|
|
NODE_ENV: "production",
|
|
},
|
|
error_file: "/opt/cpcheck/logs/error.log",
|
|
out_file: "/opt/cpcheck/logs/out.log",
|
|
log_date_format: "YYYY-MM-DD HH:mm:ss",
|
|
},
|
|
],
|
|
};
|