update debug mode
This commit is contained in:
@@ -4,7 +4,7 @@ CORES=$(nproc)
|
|||||||
WORKERS=$((2 * CORES + 1))
|
WORKERS=$((2 * CORES + 1))
|
||||||
|
|
||||||
cd /app/frontend && yarn dev &
|
cd /app/frontend && yarn dev &
|
||||||
cd /app && uvicorn app.asgi:application --workers $WORKERS --host 0.0.0.0 --port 8000 --lifespan off --loop uvloop --ws websockets --reload &
|
cd /app && python manage.py runserver 0.0.0.0:8000 &
|
||||||
|
|
||||||
wait -n
|
wait -n
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ services:
|
|||||||
ports: !reset []
|
ports: !reset []
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
build:
|
||||||
|
args:
|
||||||
|
debug: true
|
||||||
restart: "no"
|
restart: "no"
|
||||||
ports:
|
ports:
|
||||||
- "${DEV_SERVER_PORT:-8080}:${DEV_SERVER_PORT:-8080}"
|
- "${DEV_SERVER_PORT:-8080}:${DEV_SERVER_PORT:-8080}"
|
||||||
|
|||||||
Reference in New Issue
Block a user