Skip to content

Instantly share code, notes, and snippets.

@ericorruption
Created September 26, 2022 09:56
Show Gist options
  • Save ericorruption/260092b5a9dc1f25b488e8c7558d7118 to your computer and use it in GitHub Desktop.
Save ericorruption/260092b5a9dc1f25b488e8c7558d7118 to your computer and use it in GitHub Desktop.
version: "3.8"
x-environment-variables: &environment-variables
PUID: 1000
PGID: 1000
TZ: Europe/Berlin
services:
vpn:
image: linuxserver/wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
<<: *environment-variables
volumes:
- ./services/wireguard/config:/config
- /lib/modules:/lib/modules
ports:
- 51820:51820/udp
# from transmission
- 9091:9091
- 51413:51413
- 51413:51413/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=0 # TODO inspect what this does
restart: unless-stopped
torrent:
image: linuxserver/transmission
network_mode: "service:vpn"
healthcheck:
test: curl https://am.i.mullvad.net/connected | grep -q "You are connected"
environment:
<<: *environment-variables
volumes:
- ./services/transmission/config:/config
- ./data/downloads:/data/downloads
- ./data/watch:/data/watch
restart: unless-stopped
plex:
image: linuxserver/plex
network_mode: host
environment:
<<: *environment-variables
VERSION: docker
volumes:
- ./services/plex/config:/config
- ./data/media:/data/media
restart: unless-stopped
prowlarr:
image: linuxserver/prowlarr:develop
environment:
<<: *environment-variables
volumes:
- ./services/prowlarr/config:/config
ports:
- 9696:9696
network_mode: host
restart: unless-stopped
sonarr:
image: linuxserver/sonarr
environment:
<<: *environment-variables
volumes:
- ./services/sonarr/config:/config
- ./data:/data
ports:
- 8989:8989
network_mode: host
restart: unless-stopped
radarr:
image: linuxserver/radarr
environment:
<<: *environment-variables
volumes:
- ./services/radarr/config:/config
- ./data:/data
ports:
- 7878:7878
network_mode: host
restart: unless-stopped
@ericorruption
Copy link
Author

File structure:
Screenshot 2022-09-26 at 11 56 14
In essence, to run the whole stack I do
cd /media/[username]/[drive name]/torrentbox
docker compose up

Weird "full" location on status page of radarr:
Screenshot 2022-09-26 at 11 47 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment