-
Notifications
You must be signed in to change notification settings - Fork 48
Setting RapidBay up on a VPS and tunnel torrent traffic through NordVPN
Haukur Rósinkranz edited this page Jun 9, 2021
·
15 revisions
Requirements:
- A VPS with shell/SSH access
- An active account at NordVPN (https://nordvpn.com/)
- A domain or subdmomain name pointing to your server IP address
- Docker + docker-compose installed
To do the following you need to SSH into your server
Create a directory to store the project:
mkdir ~/rapidbay
Open the directory:
cd ~/rapidbay
Create a file called Caddyfile with the following contents(replace yourdomain.com with your domain/subdomain):
yourdomain.com {
reverse_proxy nordvpn:5000
}
jackett.yourdomain.com {
reverse_proxy jackett:9117
}
Create a file called docker-compose.yml with the following content:
version: "3"
services:
nordvpn:
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
- USER=<YOUR NORDVPN USERNAME/EMAIL>
- PASS=<YOUR NORDVPN PASSSORD>
- COUNTRY=<YOUR DESIRED COUNTRY e.g. Netherlands>
image: "azinchen/nordvpn"
jackett:
image: linuxserver/jackett
volumes:
- ./.jackett:/config
rapidbay:
network_mode: "service:nordvpn"
image: "hauxir/rapidbay:latest"
environment:
- PASSWORD=123456
- JACKETT_HOST=jackett.yourdomain.com
- JACKETT_API_KEY=PLACEHOLDER_CHANGE_THIS_LATER
caddy:
links:
- nordvpn
- jackett
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- .caddy:/data/
ports:
- "80:80"
- "443:443"
image: "caddy:latest"
Start RapidBay:
docker-compose up -d
Navigate to jackett.yourdomain.com, pick search indexers and get your API key.
Update the PLACEHOLDER_CHANGE_THIS_LATER above to the api key.
Again run
docker-compose up -d
All set!