fix(deploy): use linux venv paths and interpreter none in ecosystem.config.js
This commit is contained in:
1 parent
5ed92f1fdb
commit
2f9e42495f
1 file changed
+5
-3
+5
-3
@@ -2,16 +2,18 @@ module.exports = {
|
|||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: "hiffi-api",
|
name: "hiffi-api",
|
||||||
script: "./.venv/Scripts/uvicorn.exe",
|
script: "./.venv/bin/uvicorn",
|
||||||
args: "api:app --host 0.0.0.0 --port 8000",
|
args: "api:app --host 0.0.0.0 --port 8000",
|
||||||
|
interpreter: "none",
|
||||||
cwd: "./",
|
cwd: "./",
|
||||||
watch: false,
|
watch: false,
|
||||||
autorestart: true
|
autorestart: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hiffi-dashboard",
|
name: "hiffi-dashboard",
|
||||||
script: "./.venv/Scripts/streamlit.exe",
|
script: "./.venv/bin/streamlit",
|
||||||
args: "run app.py --server.port 8501 --server.headless true",
|
args: "run app.py --server.port 8501 --server.headless true --server.address 0.0.0.0",
|
||||||
|
interpreter: "none",
|
||||||
cwd: "./",
|
cwd: "./",
|
||||||
watch: false,
|
watch: false,
|
||||||
autorestart: true
|
autorestart: true
|
||||||
|
|||||||
Reference in new issue
Block a user