This commit is contained in:
2025-04-29 18:42:09 +08:00
parent ff53534c08
commit 638e98b0e9
2 changed files with 3 additions and 2 deletions

13
ecosystem.config.cjs Normal file
View File

@@ -0,0 +1,13 @@
const PORT = 5006;
module.exports = {
apps: [
{
name: 'xhs-api-server',
script: 'server.py', // 替换为您的Python脚本路径
interpreter: 'python', // 替换为您的Python解释器路径
env: {
XHS_API_PORT: PORT, // 从环境变量获取端口不存在则使用5005
},
},
],
};