vpn integration
This commit is contained in:
Regular → Executable
+4
-2
@@ -1,10 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
APP_DIR="${APP_DIR:-/oxpanel/app}"
|
||||
|
||||
CORES=$(nproc)
|
||||
WORKERS=$((2 * CORES + 1))
|
||||
|
||||
cd /app/frontend && yarn dev &
|
||||
cd /app && python manage.py runserver 0.0.0.0:8000 &
|
||||
cd "${APP_DIR}/frontend" && yarn dev &
|
||||
cd "${APP_DIR}" && python run_uvicorn.py &
|
||||
|
||||
wait -n
|
||||
|
||||
|
||||
Reference in New Issue
Block a user