This commit is contained in:
2026-03-26 05:23:37 -03:00
parent d58a90157a
commit 731964ca10
4 changed files with 140 additions and 1 deletions

View File

@@ -150,7 +150,7 @@ services:
build:
context: ..
dockerfile: ctrl/Dockerfile.worker
command: celery -A admin.mpr worker -l info -Q celery,transcode -c 2
command: celery -A admin.mpr worker -l info -Q celery,transcode,detect,detect_retry -c 2
environment:
<<: *common-env
MPR_EXECUTOR: local

View File

@@ -98,6 +98,13 @@ http {
proxy_set_header Host $host;
}
# Detection API (replay, retry, checkpoints)
location /api/detect/ {
proxy_pass http://fastapi/detect/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# SSE streams — disable buffering for realtime delivery
location /api/detect/stream/ {
proxy_pass http://fastapi/detect/stream/;