Initial commit - PromptTech
This commit is contained in:
47
scripts/ecosystem.config.json
Normal file
47
scripts/ecosystem.config.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"apps": [
|
||||
{
|
||||
"name": "techzone-backend",
|
||||
"cwd": "/media/pts/Website/PromptTech_Solution_Site/backend",
|
||||
"script": "venv/bin/uvicorn",
|
||||
"args": "server:app --reload --host 0.0.0.0 --port 8181",
|
||||
"interpreter": "none",
|
||||
"autorestart": true,
|
||||
"watch": false,
|
||||
"max_memory_restart": "500M",
|
||||
"env": {
|
||||
"PYTHONUNBUFFERED": "1",
|
||||
"PYTHONPATH": "/media/pts/Website/PromptTech_Solution_Site/backend"
|
||||
},
|
||||
"error_file": "/media/pts/Website/PromptTech_Solution_Site/logs/backend-error.log",
|
||||
"out_file": "/media/pts/Website/PromptTech_Solution_Site/logs/backend-out.log",
|
||||
"log_date_format": "YYYY-MM-DD HH:mm:ss Z",
|
||||
"merge_logs": true
|
||||
},
|
||||
{
|
||||
"name": "techzone-frontend",
|
||||
"cwd": "/media/pts/Website/PromptTech_Solution_Site/frontend",
|
||||
"script": "npm",
|
||||
"args": "start",
|
||||
"interpreter": "none",
|
||||
"autorestart": true,
|
||||
"watch": false,
|
||||
"max_memory_restart": "1G",
|
||||
"env": {
|
||||
"PORT": "5300",
|
||||
"REACT_APP_BACKEND_URL": "http://localhost:8181",
|
||||
"REACT_APP_API_URL": "http://localhost:8181/api",
|
||||
"WDS_SOCKET_PORT": "443",
|
||||
"NODE_ENV": "development",
|
||||
"BROWSER": "none"
|
||||
},
|
||||
"error_file": "/media/pts/Website/PromptTech_Solution_Site/logs/frontend-error.log",
|
||||
"out_file": "/media/pts/Website/PromptTech_Solution_Site/logs/frontend-out.log",
|
||||
"log_date_format": "YYYY-MM-DD HH:mm:ss Z",
|
||||
"merge_logs": true,
|
||||
"kill_timeout": 5000,
|
||||
"wait_ready": true,
|
||||
"listen_timeout": 60000
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user