services: seerr: build: context: . args: # Keep in step with the ARG in the Dockerfile. update.sh bumps both. SEERR_VERSION: v3.4.1 image: seerr-imdb-mod:latest container_name: seerr restart: unless-stopped networks: servarrnetwork: ipv4_address: 172.39.0.9 ports: - 5055:5055 environment: - TZ=Europe/Rome - LOG_LEVEL=debug # --- IMDB filter tuning ------------------------------------------- # Set to 1 to log one line per filtered page: timings, how many results # were pulled in, and why the rest were dropped. - IMDB_DEBUG=0 # TMDB pages reserved per frontend page. Frontend page N covers TMDB pages # [10*(N-1)+1 .. 10*N]; TMDB caps `page` at 500, so the UI exposes 50 pages. - IMDB_WINDOW=10 # TMDB pages fetched in parallel while filling a page. - IMDB_CHUNK=3 # Consecutive chunks that add no result before widening stops. Sparse # combinations (upcoming titles have no IMDB ratings yet) would otherwise # scan the whole window for nothing. - IMDB_MAX_EMPTY_CHUNKS=2 # Pre-screen pushed down to TMDB when an IMDB filter is active. Titles # below these cannot realistically satisfy an IMDB floor. - IMDB_MIN_VOTE_COUNT=100 - IMDB_MIN_YEAR=1965 # Cap on concurrent TMDB /external_ids calls. - IMDB_TMDB_CONCURRENCY=12 volumes: - /mnt/user/appdata/jellyseerr:/app/config - ./imdb-data:/imdb-data labels: - "com.centurylinklabs.watchtower.enable=false" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5055/api/v1/status"] interval: 30s start_period: 120s retries: 3 # Pre-populates the TMDB -> IMDB id cache so real requests are cache hits. # Run manually or from cron: # docker compose --profile tools run --rm warmup # docker compose --profile tools run --rm warmup --budget=5000 warmup: build: context: . args: SEERR_VERSION: v3.4.1 image: seerr-imdb-mod:latest profiles: ["tools"] entrypoint: - sh - -c - >- mkdir -p /app/dist/server-modules && cp /server-modules/*.js /app/dist/server-modules/ && exec node /imdb-warmup.js "$$@" - -- # Default sweep. Override by passing arguments to `compose run`. command: ["--budget=20000", "--genres"] environment: - TZ=Europe/Rome - NODE_PATH=/app/node_modules - IMDB_MODULES_DIR=/app/dist/server-modules - IMDB_DB_PATH=/imdb-data/imdb_ratings.db - IMDB_CACHE_PATH=/imdb-data/tmdb_cache.db volumes: - ./imdb-data:/imdb-data networks: - servarrnetwork networks: servarrnetwork: external: true