asgi + daphne

This commit is contained in:
aa.afanasyev 2025-07-15 01:34:22 +09:00
parent 6f4282d96e
commit 9bf24b072b
7 changed files with 76 additions and 31 deletions

View file

@ -1,3 +1,4 @@
version: '3.8'
services:
db:
@ -13,6 +14,7 @@ services:
web:
build: .
command: daphne -b 0.0.0.0 -p 8000 testapi.asgi:application
ports:
- "8000:8000"
volumes: