phase 11
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/;
|
||||
|
||||
Reference in New Issue
Block a user