# Default timezone used by all services (e.g., UTC, Europe/Stockholm). TZ=UTC # Logging level for worker CLI utilities (DEBUG, INFO, WARNING, ERROR). LOG_LEVEL=INFO # Redis connection string for background jobs and orchestrator cache. REDIS_URL=redis://redis:6379/0 # Queue key used by the torrent worker to pull jobs. JOB_QUEUE_KEY=local:jobs # Transmission RPC base URL used by the worker to control the client. TRANS_RPC_URL=http://transmission:9091/transmission/rpc # Transmission RPC username for authentication. TRANS_RPC_USER=transmission # Transmission RPC password for authentication. TRANS_RPC_PASS=transmission # Directory where temporary torrent data is staged. SCRATCH_DIR=./data/scratch # Directory for long-term local data storage. LOCAL_STORAGE_DIR=./data # SQLite cache file used to persist torrent metadata. TORRENT_CACHE_PATH=./data/cache/torrents.sqlite3 # SQLite database used by the orchestrator to persist job snapshots. JOBS_DB_PATH=./data/cache/jobs.sqlite3 # Storage backend implementation to use (local or s3). STORAGE_BACKEND=local # Name of the S3 bucket when STORAGE_BACKEND=s3. S3_BUCKET= # Custom S3 endpoint URL (leave blank for AWS default). S3_ENDPOINT= # AWS region for the S3 endpoint. S3_REGION=eu-north-1 # AWS access key ID for S3 operations. S3_ACCESS_KEY_ID= # AWS secret access key for S3 operations. S3_SECRET_ACCESS_KEY= # AWS session token for temporary credentials (optional). S3_SESSION_TOKEN= # Worker poll interval in seconds when checking for new jobs. POLL_INTERVAL_SECONDS=2.0 # Maximum seconds to wait for torrent metadata before giving up. METADATA_TIMEOUT_SECONDS=300 # Download bitrate threshold in bytes per second that marks a stall. STALL_RATE_BPS=65536 # Maximum seconds the worker allows a stalled torrent before failing it. STALL_TIMEOUT_SECONDS=300 # Bearer token required by the orchestrator's API layer. API_BEARER_TOKEN= # Application version string advertised by the orchestrator. APP_VERSION=1.0.0 # Seconds before torrent search requests time out. SEARCH_TIMEOUT_SECONDS=15 # Base URL (without /api) for the external TorAPI search service. SEARCH_SERVICE_URL=http://torapi:8080 # Expiration time in seconds for generated S3 presigned URLs. S3_PRESIGN_EXPIRES_IN=900 # Base URL for the torrent submission API used by helper scripts. API_URL=http://localhost:8000/api # API token matching the remote API_URL endpoint. API_TOKEN=change-me # Username for authenticating with rutracker.org. RUTRACKER_USER= # Password for authenticating with rutracker.org. RUTRACKER_PASS= # Override base URL for rutracker requests (leave blank for default). RUTRACKER_BASE_URL= # Request timeout in seconds for rutracker HTTP calls. RUTRACKER_TIMEOUT= # Maximum retry attempts for rutracker HTTP calls. RUTRACKER_MAX_RETRIES= # Exponential backoff factor between rutracker retries. RUTRACKER_RETRY_BACKOFF= # Logging level for rutracker helper scripts. RUTRACKER_LOG_LEVEL= # HTTP proxy URL forwarded to rutracker requests. HTTP_PROXY= # HTTPS proxy URL forwarded to rutracker requests. HTTPS_PROXY= # SOCKS or generic proxy URL forwarded to rutracker requests. ALL_PROXY= # Comma-separated hosts that bypass proxy settings. NO_PROXY=