From 32449d5e41a3e6a20aaf86aab2285ad25bf6900a Mon Sep 17 00:00:00 2001 From: Mickael PAPAMICA Asseline Date: Fri, 13 Jan 2023 11:32:34 +0100 Subject: [PATCH] add Flaresolverr --- composes-files/flaresolverr.yml | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 composes-files/flaresolverr.yml diff --git a/composes-files/flaresolverr.yml b/composes-files/flaresolverr.yml new file mode 100644 index 0000000..efba8d8 --- /dev/null +++ b/composes-files/flaresolverr.yml @@ -0,0 +1,47 @@ +# Maintainer: Mickael "PAPAMICA" Asseline +# Update: 2023-01-13 + + +#& type: 3 +#& title: Flaresolverr +#& description: FlareSolverr is a proxy server to bypass Cloudflare and DDoS-GUARD protection. +#& note: Website: Github.com +#& categories: SelfHosted, plex, PAPAMICA +#& platform: linux +#& logo: https://img.papamica.com/logo/flaresolverr.png + +#% SERVICE: Name of the service (No spaces or points) [flaresolverr] +#% URL: Service URL (Example: service.papamica.fr or service.com) +#% CAPTCHA_SOLVER: Captcha solver (Check documentation on Github) [none] +#% TZ: Time Zone (Ex : Europe/Paris) [Europe/Paris] +#% NETWORK: Your Traefik network (Example: proxy) [proxy] + +# Work with Portainer +version: "2" +services: + adminer: + image: ghcr.io/flaresolverr/flaresolverr:latest + restart: always + container_name: $SERVICE + environment: + - LOG_LEVEL=info + - TZ=$TZ + - CAPTCHA_SOLVER=$CAPTCHA_SOLVER + healthcheck: + test: curl --fail http://localhost:8080 || exit 1 + interval: 1m + timeout: 30s + retries: 3 + networks: + - default + labels: + - "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater + - "traefik.enable=true" + - "traefik.http.routers.$SERVICE.rule=Host(`$URL`)" + - "traefik.http.routers.$SERVICE.tls.certresolver=http" + - "traefik.http.services.$SERVICE.loadbalancer.server.port=8191" + - "traefik.docker.network=$NETWORK" +networks: + default: + external: + name: $NETWORK \ No newline at end of file