Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Plunder your favorite shows and movies πŸŽ¬πŸ΄β€β˜ οΈ β€” Docker Compose + PIA WireGuard VPN to keep the Royal Navy off yer tail! πŸš’πŸ”’

License

Notifications You must be signed in to change notification settings

scottgigawatt/plundarr

Repository files navigation


πŸ΄β€β˜ οΈ Enjoyin' the spoils? Drop us a ⭐️ an' let the whole crew know about this fine treasure!

Containers Ahoy Cloaked Pirate Code Last Plunder Cargo Hold Sea-Tested Rum Supply

─── β›§ ───

☠️ Questions or cursed code? Cross the Styx β€” Enter πŸ”₯HADESπŸ”₯.

πŸ”₯HADESπŸ”₯ Discord


Plundarr πŸ΄β€β˜ οΈ

Ahoy, mateys! Welcome to Plundarr, the ultimate Docker Compose setup for all ye media needs. Manage yer favorite 'arr' apps and PIA VPN connections with ease, all while sailin' the high seas of secure and automated media management. βš“οΈ

Captain's Log πŸ“œ

Plundarr be a collection of Docker Compose configurations to run a shipshape array of 'arr' tools like Sonarr, Radarr, and more, all securely navigated through Private Internet Access with WireGuard, managed by Gluetun. Avast, set sail on the digital seas with yer media safe from pryin' eyesβ€”tucked away like treasure on a deserted isle! 🏝️

⚑️ Quick Start

In a rush to set sail? Here's all ye need:

git clone --recurse-submodules [email protected]:scottgigawatt/plundarr.git
cd plundarr
cp example.env .env
vim .env  # Adjust yer settings
make up   # Hoist the stack!

Tip

Run make help to spy πŸ”Ž all the commands at yer disposal.

Treasure Map πŸ—ΊοΈ

Shipmate What It Be Yo Ho Ho and More Info
Privateerr πŸ΄β€β˜ οΈ Arrr, generate yer WireGuard config files fer PIA VPN connections! Protect yer precious booty with the finest VPN on the seven seas. More info
Gluetun 🌊 Batten down the hatches! Secure yer VPN route with WireGuard or OpenVPN, keepin' yer online doin's hidden from pryin' landlubber eyes. More info
FlareSolverr πŸ”₯ Outsmart them scurvy web defenses and keep yer plunderin' smooth as a fine barrel o' rum. More info
Prowlarr 🐾 The savvy first mate fer wranglin' all yer indexers, keepin' yer treasure map up-to-date with the latest and greatest booty. More info
qBittorrent 🌊 Yer trusty first mate fer torrentin', hoist the colors and download with the might of a thousand cannons. More info
Radarr πŸŽ₯ Chart yer course fer cinematic riches! Automatically plunder new films and keep yer ship's library filled to the brim. More info
Sonarr πŸ“Ί Set sail on the seas of TV shows! Fetch new episodes and keep yer watchlist shipshape and Bristol fashion. More info
Bazarr 🦜 The parrot on yer shoulder squawkin' subtitles in many tongues fer all yer movies and TV shows. More info
Readarr ❌ Scuttled, mateyβ€”she sails no more. Hoist πŸ“š Calibre Web Automated fer smooth e-book plunderin'. Set Sail βš“
Overseerr βš“οΈ The quartermaster fer handlin' all yer crew's media requests, keepin' the ship runnin' smooth and the crew satisfied. More info
Cleanuparr 🧹 The swabbie keepin' yer ship clean by removin' blocked or unwanted downloads from Sonarr, Radarr, and yer download mates like qBittorrent. More info
Speedtest Tracker ⚑️ Keep a log of yer internet speed to make sure yer ISP ain't sellin' ye snake oil. Monitor yer connection and track yer speeds over time. More info
Duplicati πŸ’£ Guard yer precious booty with backups, lest the kraken strike and sink yer ship. More info
Homepage 🏠 The captain's command deck fer all yer apps! A fully customizable, static dashboard fer keepin' tabs on all yer ship's systems. More info

Hoist the Sails βš“οΈ

Important

πŸ΄β€β˜ οΈ Before settin' sail, copy example.env to .env and tweak it to yer own pirate code.

Manage Docker configuration environment variables in the .env file. Override these variables easily on the command line when startin' the Docker Compose stack:

# Hoist the Jolly Roger and clone the repository with submodules
git clone --recurse-submodules [email protected]:scottgigawatt/plundarr.git
cd plundarr

# Copy the example environment file
cp example.env .env

# Open .env file and adjust the values to yer requirements
vim .env

For more details, see the example environment configuration here:

πŸ“œ Important Setup Scroll! ☠️

Warning

βš“οΈ Before hoistin' the sails, make sure to scour the Docker Project Setup scroll! It charts the course fer proper Docker networkin', Synology tweaks, firewall rules, and launchin' with Container Manager. Missin' these steps might leave yer ship dead in the water!

The Docker Project Setup parchment covers:

Mind these steps, lest ye be marooned on a deserted isle! 🏝️

Prep the Ship at Boot: Tunnels & Containers πŸ΄β€β˜ οΈβš™οΈ

Caution

βš“οΈ Without the /dev/net/tun device, yer VPN ship be sinkin' at the docks! Make sure it be ready at boot, or face the kraken.

πŸ΄β€β˜ οΈ Fer makin' sure /dev/net/tun be ready when yer Synology be wakin' from slumber, chart a course to the tun.sh scroll in the scripts hold an' follow the setup guide thar.

Tip

🧰 And if ye run into mutiny where yer containers don't hoist in proper order on reboot, call upon the compose_restart.sh scroll! This script tears down an' rebuilds yer Docker fleet clean and proper, ensurin' each ship sets sail in the right sequence after a stormy system reboot.

To keep yer containers from stumblin' outta their hammocks in the wrong order πŸ›οΈβž‘οΈπŸͺ, study the scrolls below like a map to buried booty πŸ—ΊοΈπŸ’°β˜ οΈ, yarrr!

πŸ”Ž Spyglass Check

To confirm yer VPN sails be catchin' wind:

❯ make test-vpn
sh scripts/test_vpn.sh
Running VPN container test...
Step 1: Running Docker container with VPN network:
docker run --rm --network=container:gluetun-latest alpine:latest sh -c 'apk add --no-cache wget >/dev/null 2>&1 && wget -qO- https://ipinfo.io'
Step 2: Received container response:
{
  "ip": "172.16.88.88",
  "city": "Tortuga",
  "region": "Rum Islands",
  "country": "XP",
  "loc": "21.4200,-71.1419",
  "org": "AS7777 The Jolly Rogers",
  "postal": "00000",
  "timezone": "Ocean/HighSeas",
  "readme": "https://ipinfo.io/missingauth"
}
Step 3: Getting host IP info from ipinfo.io...
Step 4: Received host response:
{
  "ip": "10.42.42.42",
  "hostname": "flagship.plundarr.local",
  "city": "Port Royal",
  "region": "Skull Coast",
  "country": "XP",
  "loc": "17.9355,-76.8419",
  "org": "AS1492 Blackbeard’s Backbone Ltd.",
  "postal": "99999",
  "timezone": "Ocean/SkullBay",
  "readme": "https://ipinfo.io/missingauth"
}
Step 5: Comparing container and host IPs...
VPN is active. Container IP: 172.16.88.88 (Tortuga, Rum Islands XP), Host IP: 10.42.42.42 (Port Royal, Skull Coast XP).

Warning

⚠️☠️ Ye should see an IP that ain't from yer home port. If not, batten down and check yer .env scroll.

Note

πŸ΄β€β˜ οΈ The privateerr image be used to generate the sacred PIA WireGuard config scroll that powers yer Gluetun VPN sails. By default, Plundarr pulls this image straight from GitHub Container Registry (GHCR), no buildin' required.

But if the winds be against yeβ€”or ye fancy testin' custom changesβ€”ye can chart a local build instead using the docker-compose.build.yml override scroll.

To build privateerr locally:

make build

This override be swappin' the pull fer a local build usin' yer own Dockerfile and variables from the .env scroll. Use it when the registry be unreachable or ye need to tinker with the hull below deck.

Navigatin' Troubled Waters ☠️🌊

Tip

οΈπŸ§­πŸ—ΊοΈ These configs be as wordy as an old sea dog's yarn! Use the Makefile commands if ye prefer less squawkin' 🦜 and cleaner decks 🧹.

The Makefile be yer trusty first mate fer handlin' this project with ease. It's packed with handy commands to hoist the stack, drop anchor, chart logs, test yer VPN tunnels, and swab the decks.

Cap'n's Commands πŸ¦œπŸ’€

Run make help to spy the full treasure map of commands. Let automation be the wind in yer sailsβ€”don't get marooned in manual seas.

❯ make help
Usage: make [TARGET]

Targets:
  all             - Builds and starts the service stack.
  build-depends   - Ensures build dependencies are installed.
  stop            - Stops running containers without removing them.
  down            - Stops and removes containers.
  clean           - Stops and removes containers, networks, volumes, and images.
  build           - Builds a local image of the privateerr service for use when it cannot be pulled from GHCR.
  up              - (Re)creates and starts containers for services.
  build-up        - Alias for build, up.
  start           - Starts existing containers for a service.
  test-vpn        - Obtain the VPN IP address and ensure the connection is working.
  config          - Renders the actual data model to be applied on the Docker Engine.
  env             - Prints the evaluated docker compose default env configuration.
  print-config    - Print the raw uncommented docker compose yaml configuration.
  print-env       - Print the raw uncommented docker compose env configuration.
  logs            - Shows logs for the service.
  open            - Opens the service site in the default web browser.
  run             - Alias for up, open, logs.
  help            - Displays this help message.

Dig deeper in the Cap'n's Makefile:

Ship's Log 🏝️

Plundarr has been tested on Synology DS1522+ and DS916+ runnin' DSM 7.2. But fear not, me heartiesβ€”this treasure ain't just fer Synology! She oughta run smooth on other shores like macOS, Linux, an' any land where Docker sails free.

Articles of Agreement βš–οΈ

This project be licensed under the Apache 2 Licenseβ€”see the LICENSE scroll for details.

The PIA manual connection scripts used in this repository be licensed under the MIT license, buried here.


               |    |    |
              )_)  )_)  )_)
             )___))___))___)\
            )____)____)_____)\\
         _____|____|____|____\\\__
  ~~ ~~  \_______________________/  ~~ ~~
  ~  ~   ~~~ ~~~~~ ~~~~~ ~~~ ~~~   ~  ~~
      ~   ~   ~  ~~~  ~~~~ ~  ~~   ~ ~

       πŸ΄β€β˜ οΈ  The Plunderer's Docker Fleet β˜ οΈβš“οΈ
       "Code ho! Containers below deck!"

Contribute or provide feedback to improve Plundarr. Arrr, happy sailing! πŸ΄β€β˜ οΈ

About

Plunder your favorite shows and movies πŸŽ¬πŸ΄β€β˜ οΈ β€” Docker Compose + PIA WireGuard VPN to keep the Royal Navy off yer tail! πŸš’πŸ”’

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published