🚨 This guide is deprecated. Please visit this repository to setup KnightCrawler. 🚨
Torrentio-sh prerequisites:
-
Linux on a machine (Preferably Ubuntu or Debian based and a server based distribution with SSH enabled). Here's a great video tutorial by TechHut on how to do this.
-
A static local IP on your Linux machine. Here's a great video tutorial. (your router's IP is usually
http://192.168.0.1
orhttp://192.168.1.1
) -
A DuckDNS account with ports 80 TCP and 443 TCP forwarded on your router. Here's a great video tutorial. Note: This is only required for remote access outside of your home wifi.
-
Patience lol
⚠️ BE SURE TO COPY AND PASTE THE BLOCKS OF COMMANDS 1 BLOCK AT A TIME AND WAIT BEFORE EACH ONE IS DONE BEFORE STARTING ANOTHER ⚠️
Add the Docker apt repository or see the Docker installation guide on Docker's website.
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
Install Docker:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose
Add your user to the docker
group or see the post-installation step on Docker's website:
sudo groupadd docker
sudo usermod -aG docker $USER
Reboot to finalize the Docker install:
sudo reboot
Clone the Torrentio-sh repository:
sudo apt update
sudo apt install -y git
cd ~
git clone https://github.com/Gabisonfire/torrentio-scraper-sh
cd torrentio-scraper-sh
docker compose up -d
You can view your Torrentio-sh instance in a browser at http://yourip:7000
.
You can view your machine's IP with ifconfig
or ip a
.
You can enable auto update for your Torrentio-sh instance by running these commands:
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
- Make a new subdomain on DuckDNS.org.
- Click
install
in the upper left corner. - Select your newly created domain from step 1 in the drop-down box.
- Proceed to copy all commands in order just like you have in this tutorial.
Don't forget to forward ports TCP 80 and TCP 443 to your Linux machine's IP address before continuing. Here's a great video tutorial.
This is what sends Torrentio-sh uses to talk to other devices across the internet. We will use Caddy as a reverse proxy.
Start by downloading the Caddy docker-compose.yaml file and starting the stack:
cd ~
git clone https://github.com/ben-2357/Torrentio-sh-Setup-Guide
mv ~/Torrentio-sh-Setup-Guide/Caddy ~/Caddy
sudo rm -r Torrentio-sh-Setup-Guide
Replace subdomain.duckdns.org
,with your previously chosen DuckDNS subdomain, in the Caddyfile.
nano ~/Caddy/Caddyfile
Now hit Ctrl + x
then y
then enter
Finally start Caddy and visit your Torrentio-sh instance at yoursubdomain.duckdns.org
:
cd ~/Caddy
docker compose up -d
Great job for making it through the whole guide.