# =========================== # Listarr Environment Configuration # =========================== # Copy this file to .env and edit as needed. # Do NOT commit .env to version control. # =========================== # Security (Optional Overrides) # =========================== # Flask secret key for session signing. # Auto-generated to instance/.secret_key if not set. # To set manually: python -c "import secrets; print(secrets.token_hex(32))" # LISTARR_SECRET_KEY=your_64_char_hex_key_here # Fernet encryption key for API keys at rest. # Auto-generated to instance/.fernet_key if not set. # Only override if migrating keys from another instance. # FERNET_KEY=your_fernet_key_here # =========================== # Application # =========================== # Server timezone for cron schedule interpretation. # Examples: UTC, America/New_York, Europe/London TZ=UTC # Python logging level. Options: DEBUG, INFO, WARNING, ERROR LOG_LEVEL=INFO # Flask debug mode. NEVER enable in production. FLASK_DEBUG=false # =========================== # HTTPS / Reverse Proxy # =========================== # Enable Secure flag on session and remember-me cookies. # Set to true when serving behind an HTTPS reverse proxy (nginx, Caddy, Traefik). SECURE_COOKIES=false # =========================== # Logging # =========================== # Enable Gunicorn access logging (all requests, not just errors). # Default: only 4xx/5xx responses are logged. # LOG_ACCESS_REQUESTS=true