Skip to content

Instantly share code, notes, and snippets.

@RalphORama
Last active March 13, 2025 21:52
Show Gist options
  • Save RalphORama/bd694962b9e5e13258a6da98f581a926 to your computer and use it in GitHub Desktop.
Save RalphORama/bd694962b9e5e13258a6da98f581a926 to your computer and use it in GitHub Desktop.
docker compose file for jackett + flaresolverr (for use with qBittorrent search or w/e else)
# NB: In the Jackett web UI, set "FlareSolverr URL" to http://flaresolverr:8191
services:
# https://hub.docker.com/r/linuxserver/jackett/
jackett:
image: lscr.io/linuxserver/jackett:latest
pull_policy: always
container_name: jackett
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- AUTO_UPDATE=true
volumes:
- ./jackett:/config/Jackett
- blackhole:/downloads
# Wait for FlareSolverr to fully load before starting Jackett
depends_on:
flaresolverr:
condition: service_healthy
required: true
restart: true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9117"]
interval: 5m
timeout: 5s
retries: 3
start_period: 30s
start_interval: 2s
ports:
# Bind to localhost so only the local machine can access Jackett
- "127.0.0.1:9117:9117"
# If you want to access this from a separate machine (i.e. you're setting
# up a server), comment out the line above and uncomment this:
#- "9117:9117"
restart: unless-stopped
flaresolverr:
#image: ghcr.io/flaresolverr/flaresolverr:latest
# Actually working fork of FlareSolverr
# https://github.com/FlareSolverr/FlareSolverr/pull/1163#issuecomment-2697127716
image: 21hsmw/flaresolverr:nodriver
pull_policy: always
container_name: flaresolverr
environment:
- LOG_LEVEL=info
- LOG_HTML=false
- CAPTCHA_SOLVER=none
- TZ=America/New_York
- DRIVER=nodriver # required for 21hsmw/flaresolverr:nodriver image
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8191"]
interval: 5m
timeout: 5s
retries: 3
start_period: 30s
start_interval: 2s
ports:
# Bind to localhost so only the local machine can access FlareSolverr
- "127.0.0.1:8191:8191"
restart: unless-stopped
volumes:
blackhole:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment