diff --git a/ecosystem.config.js b/ecosystem.config.js index b58c13f..9aec6a1 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,16 +2,18 @@ module.exports = { apps: [ { name: "hiffi-api", - script: "./.venv/Scripts/uvicorn.exe", + script: "./.venv/bin/uvicorn", args: "api:app --host 0.0.0.0 --port 8000", + interpreter: "none", cwd: "./", watch: false, autorestart: true }, { name: "hiffi-dashboard", - script: "./.venv/Scripts/streamlit.exe", - args: "run app.py --server.port 8501 --server.headless true", + script: "./.venv/bin/streamlit", + args: "run app.py --server.port 8501 --server.headless true --server.address 0.0.0.0", + interpreter: "none", cwd: "./", watch: false, autorestart: true