# Environment variables for Find # Database DATABASE_URL=postgresql://find:find123@db:5432/find # MinIO Object Storage MINIO_ROOT_USER=minioadmin MINIO_ROOT_PASSWORD=minioadmin MINIO_HOST_PORT=9200 MINIO_CONSOLE_HOST_PORT=9201 MINIO_ENDPOINT=minio:9000 MINIO_HOST_PORT=9200 MINIO_CONSOLE_HOST_PORT=9201 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_BUCKET=images MINIO_SECURE=false MINIO_PUBLIC_READ=false # Browser-facing MinIO base URL. Used for public files and to rewrite signed # URLs when the API talks to MinIO through the internal `minio:9000` hostname. MINIO_PUBLIC_ENDPOINT=http://localhost:9200/images # Redis REDIS_URL=redis://redis:6379 # API Configuration API_HOST=0.0.0.0 API_PORT=8000 # Frontend NEXT_PUBLIC_API_URL=http://localhost:8000 NEXT_PUBLIC_MINIO_BUCKET=images # Only used as a fallback when objects are publicly readable. NEXT_PUBLIC_MINIO_URL=http://localhost:9200 NEXT_PUBLIC_MAX_BULK_FILES=200 # Client-side upload size limit (MB). Keep in sync with MAX_UPLOAD_SIZE_MB (server-side). # If this exceeds MAX_UPLOAD_SIZE_MB, files will pass client validation but be rejected by the server. NEXT_PUBLIC_MAX_UPLOAD_SIZE_MB=50 # ML Model Settings ML_MODE=full CLIP_MODEL=ViT-B-16-SigLIP CLIP_PRETRAINED=webli BLIP_MODEL=microsoft/Florence-2-base YOLO_MODEL=yolo26n.pt USE_GPU=true YOLO_HALF=true BACKEND_BASE_IMAGE=nvidia/cuda:12.1.1-runtime-ubuntu22.04 BACKEND_PYTHON_VERSION=3.12 EMBEDDING_DIM=768 # Processing Settings MAX_UPLOAD_SIZE_MB=50 MAX_BULK_FILES=200 WORKER_TIMEOUT=600 BATCH_SIZE=1 # Clustering Settings MIN_CLUSTER_SIZE=2 MIN_SAMPLES=1 CLUSTERING_N_JOBS=-1 CLUSTERING_BACKEND=auto