# Hostname HOST=0.0.0.0 PORT=3210 # Environment Configuration # These variables override settings in config.ts # Image source prefix SOURCE_PREFIX=https:// # Allowed hostnames when SOURCE_PREFIX is not set or 'https://' # Comma-separated, e.g. SOURCE_HOSTNAME=cdn.example.com,images.example.com SOURCE_HOSTNAME= FETCH_TIMEOUT=10000 # Cache settings CACHE_CONTROL="public, max-age=31536000, immutable" # CORS settings CORS_ORIGIN=* CORS_CREDENTIALS=false ALLOW_CUSTOM_TRANSFORMS=true ALLOW_PRESETS=true ALLOW_ORIGINAL_IMAGE=true # Allow /original/{path} to serve images without processing # Presets (JSON format) # PRESETS={"thumbnail":"w=200,h=200,fit=cover","banner":"w=1024,h=128"} # Image processing limits IMAGE_MAX_WIDTH=2048 IMAGE_MAX_HEIGHT=2048 IMAGE_DEFAULT_QUALITY=85 # LOG_OTLP_ENDPOINT=http://localhost:4318 # LOG_OTLP_HEADERS=Authorization=Bearer YOUR_TOKEN # LOG_SAMPLING_INFO=10 # LOG_SAMPLING_ERROR=100