-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
#!/bin/bash | ||
|
||
echo "Please enter your email: " | ||
read userMail | ||
|
||
echo "Please enter your domain name: " | ||
read domainName | ||
cd jackett | ||
|
@@ -15,18 +12,11 @@ cd ../traefik | |
sudo docker compose down | ||
cd .. | ||
|
||
sudo mkdir /etc/traefik | ||
sudo mkdir /etc/traefik/certs | ||
|
||
sudo curl -fsSL https://raw.githubusercontent.com/aymene69/stremio-jackett/main/traefik/traefik.yml -o /etc/traefik/traefik.yml | ||
|
||
sudo sed -i "s/[email protected]/$userMail/g" /etc/traefik/traefik.yml | ||
|
||
sudo mkdir traefik jackett addon | ||
sudo curl -fsSL https://raw.githubusercontent.com/aymene69/stremio-jackett/main/traefik/docker-compose.yml -o ./traefik/docker-compose.yml | ||
|
||
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT | ||
sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT | ||
sudo iptables -A INPUT -p tcp --dport 9117 -j ACCEPT | ||
sudo iptables -A INPUT -p tcp --dport 8191 -j ACCEPT | ||
|
||
sudo netfilter-persistent save | ||
cd traefik | ||
sudo docker compose up -d | ||
|
@@ -39,12 +29,12 @@ sudo docker compose up -d | |
cd ../addon | ||
sudo curl -fsSL https://raw.githubusercontent.com/aymene69/stremio-jackett/main/docker-compose-traefik.yml -o ./docker-compose.yml | ||
sudo sed -i "s/YOURADDON.COM/$domainName/g" ./docker-compose.yml | ||
sudo docker compose pull | ||
sudo docker compose up -d | ||
cd ../traefik | ||
sudo docker compose down | ||
sudo docker compose up -d | ||
clear | ||
|
||
IP=$(curl -4 -s ifconfig.me) | ||
echo "Your addon is accessible at https://$domainName/" | ||
echo "Jackett is accessible at http://$(curl -4 -s ifconfig.me):9117" | ||
echo "FlareSolverr is accessible at http://$(curl -4 -s ifconfig.me):8191" | ||
echo "Jackett is accessible at http://${IP}:9117" | ||
echo "FlareSolverr is accessible at http://${IP}:8191" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters