# --- Server Configuration ---
# HTTP Server port
PORT=3000
# HTTP Server listen address
HOST=0.0.0.0

# --- Web Interface ---
# Web page title displayed to the user
APP_TITLE=S3 Media Transcoder

# --- Transcoding Engine ---
# Path to a customized FFmpeg build (e.g., jellyfin-ffmpeg for hardware acceleration)
JELLYFIN_FFMPEG_PATH=/usr/lib/jellyfin-ffmpeg/ffmpeg
# Path to a customized FFprobe build
JELLYFIN_FFPROBE_PATH=/usr/lib/jellyfin-ffmpeg/ffprobe

# --- Session Management (Valkey / Redis) ---
# Connection string for Valkey/Redis
VALKEY_URL=redis://localhost:6379
# Database index for Valkey/Redis
VALKEY_DB=0
# Key prefix inside Valkey/Redis to avoid conflicts with other apps
VALKEY_PREFIX=mediaconverter

# --- Storage Configuration (AWS S3 / MinIO) ---
# Full endpoint/domain to your S3 bucket root, or just S3 Bucket Name
S3_BUCKET_ADDRESS=https://s3.example.com/your_bucket_name
# AWS region for S3 (e.g., us-east-1)
AWS_REGION=us-east-1

# Optional: S3 global credentials. If not specified, web UI login handles authentication.
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=

# Optional: For MinIO or other S3-compatible self-hosted storage
S3_ENDPOINT=http://127.0.0.1:9000
# Whether to force path-style S3 URLs (usually required for MinIO)
S3_FORCE_PATH_STYLE=true
