Torrent-Stack/docker-compose.yml

112 lines
3.4 KiB
YAML
Raw Permalink Normal View History

version: "3.1"
services:
# VPN outward tunnel, to avoid downloading through the local network
# Thus has all exposed ports for different services, to avoid any leak
wireguard_torr:
image: ghcr.io/linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
- ./wireguard-config:/config
- /lib/modules:/lib/modules
ports:
- 51821:51820/udp # Wireguard
- 7878:7878 # Radarr
- 8989:8989 # Sonarr
- 9117:9117 # Jacket
- 8112:8112 # Deluge
2021-06-24 13:14:49 +00:00
- 8191:8191 # FlareSolverr
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=0
restart: unless-stopped
# Search for movies
radarr:
image: ghcr.io/linuxserver/radarr
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
2021-05-25 08:56:53 +00:00
- ./radarr/config:/config
- ${FILE_PATH}/jellyfin/movies:/movies
- ${FILE_PATH}/torrent-stack/downloads:/downloads
- ${FILE_PATH}/torrent-stack/radarr/sma:/usr/local/sma/config
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
- wireguard_torr
# Search for TV shows/animes
sonarr:
image: ghcr.io/linuxserver/sonarr
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
2021-05-25 08:56:53 +00:00
- ./sonarr/config:/config
- ${FILE_PATH}/jellyfin/tvshows:/tv
- ${FILE_PATH}/torrent-stack/downloads:/downloads
- ${FILE_PATH}/torrent-stack/sonarr/sma:/usr/local/sma/config
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
- wireguard_torr
# Torrent aggregator to query through multiple torrent sources when searching with Sonarr
# and Radarr
jackett:
image: ghcr.io/linuxserver/jackett
container_name: jackett
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
2021-05-25 08:56:53 +00:00
- ./jackett/config:/config
- ${FILE_PATH}/torrent-stack/downloads:/downloads
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
- wireguard_torr
deluge:
image: ghcr.io/linuxserver/deluge
container_name: deluge
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
- DELUGE_LOGLEVEL=error
volumes:
2021-05-25 08:56:53 +00:00
- ./deluge/config:/config
- ${FILE_PATH}/torrent-stack/downloads:/downloads
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
- wireguard_torr
2021-06-24 13:14:49 +00:00
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolver
environment:
- LOG_LEVEL=info
- LOG_HTML=false
- CAPTCHA_SOLVER=none
- TZ=Europe/Copenhagen
restart: unless-stopped
network_mode: service:wireguard_torr
depends_on:
- wireguard_torr