43 lines
1.9 KiB
Text
43 lines
1.9 KiB
Text
# video-analysis configuration
|
|
# Copy to deploy/.env and fill ALL required values.
|
|
# Service must FAIL to start if required vars are missing.
|
|
# Tuning parameters are in deploy/config.yaml (not here)
|
|
# =============================================================================
|
|
# REQUIRED (no defaults)
|
|
# =============================================================================
|
|
# Hugging Face token for downloading BusterX model
|
|
HF_TOKEN=your_huggingface_token_here
|
|
|
|
# Hugging Face cache directory (shared with llm-inference)
|
|
HF_CACHE_DIR=/cai2_ds_storage/hf_cache
|
|
|
|
# Directory for storing analysis artifacts (created at runtime)
|
|
VIDEO_ANALYSIS_RUNS_DIR=/app/runs
|
|
|
|
# =============================================================================
|
|
# vLLM Connection (auto-configured for docker-compose profiles)
|
|
# =============================================================================
|
|
# For profile 'api-vllm' or 'full': uses internal vllm-buster container
|
|
VIDEO_ANALYSIS_VLLM_BASE_URL=http://vllm-buster:8000
|
|
VIDEO_ANALYSIS_VLLM_MODEL=busterx
|
|
|
|
# For profile 'api' with external vLLM: point to your external vLLM server
|
|
# VIDEO_ANALYSIS_VLLM_BASE_URL=http://external-host:8008
|
|
# VIDEO_ANALYSIS_VLLM_MODEL=l8cv/BusterX_plusplus
|
|
|
|
# =============================================================================
|
|
# Optional Tuning (override config.yaml defaults)
|
|
# =============================================================================
|
|
# VIDEO_ANALYSIS_FRAMES=16
|
|
# VIDEO_ANALYSIS_MAX_SIDE=960
|
|
# VIDEO_ANALYSIS_JPEG_QUALITY=85
|
|
# VIDEO_ANALYSIS_MAX_TOKENS=750
|
|
# VIDEO_ANALYSIS_TEMPERATURE=0.000001
|
|
# VIDEO_ANALYSIS_REPETITION_PENALTY=1.05
|
|
|
|
# =============================================================================
|
|
# Optional Nginx Timeouts (for api-nginx or full profile)
|
|
# =============================================================================
|
|
# NGINX_CONNECT_TIMEOUT=60s
|
|
# NGINX_SEND_TIMEOUT=120s
|
|
# NGINX_READ_TIMEOUT=600s
|