Files
compose/imageflow/docker.env
2025-09-18 13:31:22 +08:00

34 lines
810 B
Bash

API_KEY=your_api_key_here
STORAGE_TYPE=local
METADATA_STORE_TYPE=redis
LOCAL_STORAGE_PATH=static/images
# Redis Configuration
REDIS_HOST=imageflow-redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_TLS_ENABLED=false
# S3 Configuration
S3_ENDPOINT=
S3_REGION=
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_BUCKET=
CUSTOM_DOMAIN=
# Upload and Conversion Settings
# Maximum number of images allowed in a single upload (Need Self build default: 20)
# Image quality for WebP/AVIF conversion (1-100, default: 80)
# Number of parallel worker threads for batch processing (default: 4)
# SPEED: Range: 0-8, 0=slowest/highest quality, 8=fastest/lowest quality
# Size of worker pool for concurrent image processing (default: 4)
MAX_UPLOAD_COUNT=20
IMAGE_QUALITY=75
WORKER_THREADS=4
SPEED=5
WORKER_POOL_SIZE=4
DEBUG_MODE=false