diff --git a/ecosystem.config.js b/ecosystem.config.js index 3130135..2dceac1 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -6,13 +6,17 @@ module.exports = { args: "-m uvicorn backend.app.main:app --host 0.0.0.0 --port 8000", cwd: "./", env: { - PYTHONPATH: "./backend" + PYTHONPATH: "./backend", + // HTTP_PROXY: "http://192.168.3.91:7893", + // HTTPS_PROXY: "http://192.168.3.91:7893", + // http_proxy: "http://192.168.3.91:7893", + // https_proxy: "http://192.168.3.91:7893" } }, { name: "datafetch-frontend", script: "npm", - args: "run dev", // 生产环境建议改为 "start" 并先运行 npm run build + args: "run dev", cwd: "./frontend", env: { NODE_ENV: "development"