From 820ed24e8082b3767e284173264c0f517dbc6fc8 Mon Sep 17 00:00:00 2001 From: sudheera Date: Fri, 11 Feb 2022 21:31:21 +0100 Subject: [PATCH] Adding flaresolverr to support Jackett to patch branch 1.0.0 --- ...E_upgrade_1.0.1.txt => README_upgrade_1.0.2.txt | 2 +- .../templates/docker-compose.yml.j2 | 14 ++++++++++++++ .../templates/jackett-config.json.j2 | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) rename README_upgrade_1.0.1.txt => README_upgrade_1.0.2.txt (95%) diff --git a/README_upgrade_1.0.1.txt b/README_upgrade_1.0.2.txt similarity index 95% rename from README_upgrade_1.0.1.txt rename to README_upgrade_1.0.2.txt index 20d42cd..6d43fc9 100644 --- a/README_upgrade_1.0.1.txt +++ b/README_upgrade_1.0.2.txt @@ -5,7 +5,7 @@ On the raspberry pi On your Laptop/PC - 1. Download the patch release : https://github.com/catchsudheera/media-server-ansible/archive/refs/tags/1.0.1.zip + 1. Download the patch release : https://github.com/catchsudheera/media-server-ansible/archive/refs/tags/1.0.2.zip 2. Make sure content of following files are correct. (Use previously used files) : ansible-playbook/inventories/default/group_vars/all.yml ansible-playbook/inventories/default/hosts.ini diff --git a/ansible-playbook/roles/container-stack-media-server/templates/docker-compose.yml.j2 b/ansible-playbook/roles/container-stack-media-server/templates/docker-compose.yml.j2 index 45cdb5e..1e4b4e3 100755 --- a/ansible-playbook/roles/container-stack-media-server/templates/docker-compose.yml.j2 +++ b/ansible-playbook/roles/container-stack-media-server/templates/docker-compose.yml.j2 @@ -67,6 +67,20 @@ services: retries: 10 start_period: 2m restart: always + flaresolverr: + image: ghcr.io/flaresolverr/flaresolverr + networks: + - media_server_network + container_name: flaresolverr + ports: + - 8191:8191 + healthcheck: + test: ["CMD-SHELL", "wget --spider http://localhost:8191 || exit 1"] + interval: 2m + timeout: 30s + retries: 10 + start_period: 2m + restart: always {% filter indent(width=2) %} {% if add_vpn_container == true %} {% include 'docker-compose-fragment-vpn.yml.j2' %} diff --git a/ansible-playbook/roles/container-stack-media-server/templates/jackett-config.json.j2 b/ansible-playbook/roles/container-stack-media-server/templates/jackett-config.json.j2 index 89d19b0..8e00879 100755 --- a/ansible-playbook/roles/container-stack-media-server/templates/jackett-config.json.j2 +++ b/ansible-playbook/roles/container-stack-media-server/templates/jackett-config.json.j2 @@ -11,7 +11,7 @@ "CacheEnabled": true, "CacheTtl": 2100, "CacheMaxResultsPerIndexer": 1000, - "FlareSolverrUrl": null, + "FlareSolverrUrl": "http://flaresolverr:8191", "OmdbApiKey": null, "OmdbApiUrl": null, "ProxyType": 0,