重构期货监控系统:多页面导航、开单计划、Ubuntu PM2 部署

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-15 11:04:00 +08:00
commit ae480cb3e7
16 changed files with 1416 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
module.exports = {
apps: [
{
name: "qihuo",
script: "app.py",
cwd: "/opt/qihuo",
interpreter: "/opt/qihuo/venv/bin/python",
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: "300M",
env: {
NODE_ENV: "production",
},
error_file: "/opt/qihuo/logs/pm2-error.log",
out_file: "/opt/qihuo/logs/pm2-out.log",
time: true,
},
],
};