DimensioDepth / backend /.env.example
wwieerrz's picture
🎨 Launch DimensioDepth - Advanced AI Depth Estimation
463afdd
raw
history blame
743 Bytes
# Server Configuration
HOST=0.0.0.0
PORT=8000
DEBUG=True
WORKERS=4
# Model Configuration
DEPTH_MODEL_SMALL=depth_anything_v2_vits.onnx
DEPTH_MODEL_LARGE=depth_anything_v2_vitl.onnx
MODEL_CACHE_DIR=./models/cache
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# Cache Settings
ENABLE_CACHE=True
CACHE_TTL=3600
# Processing Configuration
MAX_IMAGE_SIZE=4096
DEFAULT_IMAGE_SIZE=1024
PREVIEW_SIZE=384
# GPU Configuration
CUDA_VISIBLE_DEVICES=0
USE_GPU=True
TRT_OPTIMIZATION=True
# Storage (optional)
S3_BUCKET=
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# API Settings
CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
MAX_UPLOAD_SIZE=10485760
RATE_LIMIT_PER_MINUTE=60