Wiki > Flaresolverr
A random port number between 10000 and 32767 is needed and will be used to access FlareSolverr. The port number 13739 has automatically been generated and will be used throughout this article, but can be changed if needed.
Connect to your slot using SSH
-
Create
~/flaresolverr.ymltouch ~/flaresolverr.yml -
Open the file with
nano ~/flaresolverr.ymland add the text in this text box to the fileservices: flaresolverr: image: ghcr.io/flaresolverr/flaresolverr:latest environment: - LOG_LEVEL=${LOG_LEVEL:-info} - LOG_HTML=${LOG_HTML:-false} - CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none} - TZ=UTC - PORT=13739 - HOST=127.0.0.1 network_mode: host pull_policy: always restart: unless-stoppedSave the file by pressing
Ctrl+Sthen exit nano withCtrl+X -
Run the FlareSolverr application
podman-compose -f ~/flaresolverr.yml up -d
After returning to your shell prompt, FlareSolverr will be accessible at http://localhost:13739 in any program running on your server capable of using the FlareSolverr API. You can test FlareSolverr by running curl http://localhost:13739 FlareSolverr will respond with the current browser version it is using.
To update FlareSolverr, run this command to restart into the latest version: podman-compose -f ~/flaresolverr.yml down; podman-compose -f ~/flaresolverr.yml up -d