From 801fb60e26e71788d1980ce0584aff59e16ec050 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 12 Oct 2022 17:45:23 -0600 Subject: [PATCH] transmission getting on my nerves --- homelab/Caddyfile | 25 ++++++++++ homelab/docker-compose.yaml | 70 +++++++++++++++++++++++--- homelab/transmission-rss.yaml | 12 +++++ homelab/www/index.html | 93 ++++++++++++++++++++++++++++------- 4 files changed, 174 insertions(+), 26 deletions(-) create mode 100644 homelab/transmission-rss.yaml diff --git a/homelab/Caddyfile b/homelab/Caddyfile index 3748c21..0f20299 100644 --- a/homelab/Caddyfile +++ b/homelab/Caddyfile @@ -35,12 +35,37 @@ ancestry.woozle.org { reverse_proxy geneweb:2317 } +## +## handle sends original path +## handle_path truncates path +## + deergrove.woozle.org, sweetums.woozle.org { + handle_path /qbittorrent/* { + import restricted-access + reverse_proxy host.docker.internal:6880 + } + handle /transmission/* { import restricted-access reverse_proxy host.docker.internal:9091 } + handle /nzbget/* { + import restricted-access + reverse_proxy nzbget:6789 + } + + handle /sonarr/* { + import restricted-access + reverse_proxy sonarr:8989 + } + + handle /jackett/* { + import restricted-access + reverse_proxy jackett:9117 + } + handle_path /sucker/* { import restricted-access reverse_proxy host.docker.internal:5880 diff --git a/homelab/docker-compose.yaml b/homelab/docker-compose.yaml index 22fdb02..7002f80 100644 --- a/homelab/docker-compose.yaml +++ b/homelab/docker-compose.yaml @@ -55,10 +55,28 @@ services: bind: propagation: rslave - transmission: - image: ghcr.io/linuxserver/transmission + qbittorrent: + image: lscr.io/linuxserver/qbittorrent + volumes: + - type: bind + source: /srv/ext/sys/qbittorrent + target: /config + - type: bind + source: /srv/ext/incoming + target: /srv/ext/incoming networks: - hostnet + + transmission: + image: lscr.io/linuxserver/transmission + deploy: + replicas: 0 + networks: + - hostnet + ulimits: + nofile: + soft: 20000 + hard: 40000 volumes: - type: bind source: /srv/ext/sys/transmission @@ -67,6 +85,42 @@ services: source: /srv/ext/incoming target: /srv/ext/incoming + transmission-rss: + image: haugene/transmission-rss + configs: + - source: transmission-rss.yaml + target: /etc/transmission-rss.conf + + sonarr: + image: lscr.io/linuxserver/sonarr + volumes: + - type: bind + source: /srv/ext/sys/sonarr + target: /config + - type: bind + source: /srv/ext/media/tv + target: /srv/ext/media/tv + - type: bind + source: /srv/ext/incoming + target: /srv/ext/incoming + + jackett: + image: lscr.io/linuxserver/jackett + volumes: + - type: bind + source: /srv/ext/sys/jackett + target: /config + + nzbget: + image: lscr.io/linuxserver/nzbget + volumes: + - type: bind + source: /srv/ext/sys/nzbget + target: /config + - type: bind + source: /srv/ext/incoming + target: /srv/ext/incoming + gitea: image: gitea/gitea:1 environment: @@ -86,7 +140,7 @@ services: read_only: true wallart: - image: wallart-server + image: git.woozle.org/neale/wallart-server volumes: - type: bind source: /srv/ext/sys/wallart @@ -101,8 +155,6 @@ services: - type: bind source: /srv/ext/sys/atlas/status target: /var/atlas-probe/status - networks: - - hostnet geneweb: image: ravermeister/geneweb @@ -132,6 +184,7 @@ services: GROUPID: 911 # name;path;browse;readonly;guest SHARE1: drive;/srv/ext;yes;no;no + SHARE2: retropie;/srv/ext/media/games/retropie;yes;yes;yes env_file: - secrets/samba-users.env ports: @@ -157,13 +210,16 @@ configs: name: dave.yaml-v3 Caddyfile: file: Caddyfile - name: Caddyfile-v40 + name: Caddyfile-v49 index.html: file: www/index.html - name: index.html-v16 + name: index.html-v24 browse.html: file: www/browse.html name: browse.html-v5 + transmission-rss.yaml: + file: transmission-rss.yaml + name: transmission-rss.yaml-v1 secrets: diff --git a/homelab/transmission-rss.yaml b/homelab/transmission-rss.yaml new file mode 100644 index 0000000..45cde3e --- /dev/null +++ b/homelab/transmission-rss.yaml @@ -0,0 +1,12 @@ +feeds: + - url: https://www.finnix.org/rss/bittorrent/seeder.rss + download_path: /srv/ext/incoming/seeds + seed_ratio_limit: 50 + - url: https://archlinux.org/feeds/releases/ + download_path: /srv/ext/incoming/seeds + seed_ratio_limit: 50 + +server: + host: 192.168.86.2 + port: 9091 + rpc_path: /transmission/rpc diff --git a/homelab/www/index.html b/homelab/www/index.html index 4103b43..e49e9a9 100644 --- a/homelab/www/index.html +++ b/homelab/www/index.html @@ -3,28 +3,83 @@ Deer Grove - + -
-
+
+

How all the media stuff fits together

+

+ Plex is the main interface for users. + It indexes media in /srv/ext/media + and lets everybody watch it whetever. +

+

+ Sonarr lets you tell it what you'd like to have, + and watches various feeds, + waiting for it to appear. + Then it tells a downloader to download it. + Once a file is downloaded, + it moves it into a directory where Plex can see it, + making sure it's named properly. +

+

+ Jackett is a feed provider, + which searches torrent sites and provides the results as feeds. + NZBGeek is a paid feed provider that I use: + it monitors usenet for new posts, + and provides them as feeds. + Usenet is a very old distributed bulletin board: it even predates the World Wide Web. + I pay Frugal Usenet $5 a month to run a Usenet server so I don't have to. +

+

+ Transmission and NZBGet are downloaders. + They pull files down from bit torrent (Transmission) + and Usenet (NZBGet). +

+