diff --git a/app/dev_run.sh b/app/dev_run.sh index a8e76f2..9ce681c 100644 --- a/app/dev_run.sh +++ b/app/dev_run.sh @@ -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 diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 988c60b..6612896 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -12,6 +12,9 @@ services: ports: !reset [] app: + build: + args: + debug: true restart: "no" ports: - "${DEV_SERVER_PORT:-8080}:${DEV_SERVER_PORT:-8080}"