Make docker compose run FastAPI on port 8000 and remove broken scripts bind mount

This commit is contained in:
Artem Filin committed 2026-10-20 17:54:48 -07:00
1 parent b312d8b445
commit b5e22d424c
1 file changed
+3 -2
+3 -2
View File
@@ -9,12 +9,13 @@ services:
- ./data:/app/data
- ./docs:/app/docs
- ./sources:/app/sources
- ./scripts:/app/scripts
environment:
- PYTHONPATH=/app
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
command: python manage.py
ports:
- "8000:8000"
# Uses the Dockerfile FastAPI CMD; the CLI remains accessible via docker compose run app python manage.py <command>.
restart: unless-stopped
user: "1000:1000"