update debug mode

This commit is contained in:
2025-04-20 03:13:04 +02:00
parent 0a5251ec10
commit 065ac7f250
2 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ CORES=$(nproc)
WORKERS=$((2 * CORES + 1))
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

View File

@@ -12,6 +12,9 @@ services:
ports: !reset []
app:
build:
args:
debug: true
restart: "no"
ports:
- "${DEV_SERVER_PORT:-8080}:${DEV_SERVER_PORT:-8080}"