# ============================================================================== # Javinizer Docker Environment Configuration # ============================================================================== # Copy this file to .env and customize the values for your environment: # cp .env.example .env # # Docker Compose will automatically load variables from .env file. # ============================================================================== # ------------------------------------------------------------------------------ # User/Group Mapping (Permission Management) # ------------------------------------------------------------------------------ # Set these to match your host user to avoid permission issues with volumes. # Unraid users typically use PUID/PGID (for example, 99:100). # Run these commands to get your values: # id -u # Get your UID # id -g # Get your GID # # Default: 1000 (common for first user on Linux systems) PUID=1000 PGID=1000 # Legacy aliases (optional). If PUID/PGID are set, they take precedence. # USER_ID=1000 # GROUP_ID=1000 # ------------------------------------------------------------------------------ # File Creation Mask (umask) # ------------------------------------------------------------------------------ # Controls default permissions for newly created files and directories. # Recommended: 002 (rwxrwxr-x) - allows group write permissions # Alternative: 022 (rwxr-xr-x) - only owner can write # # Uncomment to override config.yaml setting: # UMASK=002 # ------------------------------------------------------------------------------ # Port Configuration # ------------------------------------------------------------------------------ # Host port to expose the Javinizer web UI and API. # Change this if port 8765 is already in use on your system. # # Default: 8765 HOST_PORT=8765 # ------------------------------------------------------------------------------ # FlareSolverr Port Configuration # ------------------------------------------------------------------------------ # Host port to expose FlareSolverr API (container always listens on 8191). # Keep default unless 8191 is already in use. # # Default: 8191 FLARESOLVERR_HOST_PORT=8191 # ------------------------------------------------------------------------------ # Timezone # ------------------------------------------------------------------------------ # Set the timezone for the container (affects log timestamps). # Use IANA timezone format (e.g., America/New_York, Europe/London, Asia/Tokyo) # # Default: UTC TZ=UTC # ------------------------------------------------------------------------------ # Media Library Path # ------------------------------------------------------------------------------ # Absolute path to your JAV library on the host system. # This will be mounted as /media inside the container. # # IMPORTANT: Change this to point to your actual JAV library! # Default: /path/to/your/jav-library (you must change this) MEDIA_PATH=/path/to/your/jav-library # ------------------------------------------------------------------------------ # Logging Configuration (Optional) # ------------------------------------------------------------------------------ # Override log level from config.yaml # Valid values: debug, info, warn, error # # Uncomment to override: # LOG_LEVEL=debug # ------------------------------------------------------------------------------ # Temp Directory (Optional) # ------------------------------------------------------------------------------ # Override temp directory for file processing. # Docker users: the default /javinizer/temp is already set in docker-compose. # # Uncomment to override: # JAVINIZER_TEMP_DIR=/custom/temp/path # ------------------------------------------------------------------------------ # FlareSolverr Configuration (Optional) # ------------------------------------------------------------------------------ # Enable/disable through docker-compose service. Use these to tune behavior. # # Valid values: # FLARESOLVERR_LOG_LEVEL: debug, info, warning, error # FLARESOLVERR_LOG_HTML: true, false # FLARESOLVERR_CAPTCHA_SOLVER: none FLARESOLVERR_LOG_LEVEL=info FLARESOLVERR_LOG_HTML=false FLARESOLVERR_CAPTCHA_SOLVER=none # ------------------------------------------------------------------------------ # Setup Endpoint Protection (Optional) # ------------------------------------------------------------------------------ # When running in Docker, the host connects via the bridge network gateway # (e.g. 172.30.0.1), which is not localhost from the container's perspective. # Use these variables to control access to the /auth/setup endpoint. # Trusted CIDRs for /auth/setup access (comma-separated). # Without this, setup is only available from localhost inside the container. # Docker users should set this to the bridge network range. # Default: 172.16.0.0/12 (covers all Docker default bridge networks) JAVINIZER_SETUP_TRUSTED_CIDRS=172.16.0.0/12 # Bootstrap secret for /auth/setup endpoint. # When set, any client must include X-Setup-Secret header matching this value. # This takes precedence over the trusted CIDRs check. # Uncomment and set a strong secret if you want to restrict setup to # clients that know the secret, regardless of their source IP: # JAVINIZER_SETUP_SECRET=my-secret-key # ------------------------------------------------------------------------------ # Proxy Configuration Location # ------------------------------------------------------------------------------ # Proxy and FlareSolverr behavior is configured in config.yaml only: # scrapers.proxy.* # scrapers..proxy.* # This .env file intentionally does not define proxy variables. # ------------------------------------------------------------------------------ # Development Mode (Optional) # ------------------------------------------------------------------------------ # Enable development mode for frontend hot-reload. # Only needed if you're developing the web UI. # # Uncomment to enable: # JAVINIZER_DEV_MODE=true # VITE_API_URL=http://localhost:8765