Files
cpcheck/ecosystem.config.js
dekun 32c8f4b156 Initial release: CPCHECK cloud port detection tool
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>
2026-06-16 15:24:40 +08:00

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",
},
],
};