Skip to content

Instantly share code, notes, and snippets.

@1player
Last active January 17, 2025 15:40
Show Gist options
  • Select an option

  • Save 1player/dbdafdd197e1623f5831108fc0cc973a to your computer and use it in GitHub Desktop.

Select an option

Save 1player/dbdafdd197e1623f5831108fc0cc973a to your computer and use it in GitHub Desktop.

Revisions

  1. 1player revised this gist Jul 4, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gluetun.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Gluetun is a WireGuard container
    # Gluetun is a Mullvad VPN client with built-in kill switch

    version: "3.4"
    services:
  2. 1player created this gist Jul 4, 2022.
    23 changes: 23 additions & 0 deletions bazarr.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # Bazarr downloads subtitles

    version: "3.4"
    services:
    bazarr:
    image: linuxserver/bazarr:1.0.5-development
    container_name: bazarr
    restart: unless-stopped
    environment:
    - TZ=Europe/London
    - PUID=1026
    - PGID=100
    volumes:
    - /volume1/data:/data
    - /volume1/docker/bazarr/config:/config # Bazarr data
    ports:
    - 6767:6767/tcp # Allows HTTP access to the internal webserver.
    networks:
    torrent:

    networks:
    torrent:
    external: true
    41 changes: 41 additions & 0 deletions gluetun.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    # Gluetun is a WireGuard container

    version: "3.4"
    services:
    vpn:
    container_name: vpn
    image: qmcgaw/gluetun
    restart: always
    healthcheck:
    test: wget -O - https://am.i.mullvad.net/connected | grep -q "You are connected"
    cap_add:
    - NET_ADMIN
    devices:
    - /dev/net/tun
    labels:
    - autoheal=true
    sysctls:
    - net.ipv6.conf.all.disable_ipv6=0
    environment:
    - TZ=Europe/London
    # Expose torrent ports here
    ports:
    - 8000:80
    - 8080:8080 # qBittorrent
    - 8112:8112
    - 9117:9117 # Jackett
    environment:
    - VPN_SERVICE_PROVIDER=mullvad
    - VPN_TYPE=wireguard
    - WIREGUARD_PRIVATE_KEY=XXX
    - WIREGUARD_ADDRESSES=XXX
    - FIREWALL_VPN_INPUT_PORTS=XXX
    - SERVER_CITIES=XXX
    networks:
    torrent:
    aliases:
    - torrent-client

    networks:
    torrent:
    external: true
    20 changes: 20 additions & 0 deletions jackett.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    # Jackett is a frontend to torrent search sites

    version: "3.4"
    services:
    jackett:
    container_name: jackett
    image: linuxserver/jackett:latest
    restart: unless-stopped
    environment:
    - PUID=1026
    - PGID=100
    - TZ=Europe/London
    volumes:
    - /volume1/data/Torrents/Queue:/downloads
    - /volume1/docker/jackett/config:/config
    network_mode: "container:vpn"
    healthcheck:
    test: curl https://am.i.mullvad.net/connected | grep -q "You are connected"
    labels:
    - autoheal=true
    21 changes: 21 additions & 0 deletions qbittorrent.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    # qBittorrent is a torrent client

    version: "3.4"
    services:
    qbittorrent:
    container_name: qbittorrent
    image: linuxserver/qbittorrent:latest
    restart: always
    environment:
    - PGID=100
    - PUID=1026
    - TZ=Europe/London
    - WEBUI_PORT=8080
    volumes:
    - /volume1/docker/qbittorrent/config:/config
    - /volume1/data:/data
    network_mode: "container:vpn"
    healthcheck:
    test: curl https://am.i.mullvad.net/connected | grep -q "You are connected"
    labels:
    - autoheal=true
    24 changes: 24 additions & 0 deletions radarr.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # Radarr downloads movies

    version: "3.4"
    services:
    radarr:
    container_name: radarr
    image: linuxserver/radarr:latest
    restart: unless-stopped
    environment:
    - PUID=1026
    - PGID=100
    - TZ=Europe/London
    ports:
    - 7878:7878
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /volume1/docker/radarr/config:/config
    - /volume1/data:/data
    networks:
    torrent:

    networks:
    torrent:
    external: true
    24 changes: 24 additions & 0 deletions sonarr.docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # Sonarr downloads TV shows

    version: "3.4"
    services:
    sonarr:
    container_name: sonarr
    image: linuxserver/sonarr:latest
    restart: unless-stopped
    environment:
    - PUID=1026
    - PGID=100
    - TZ=Europe/London
    ports:
    - 8989:8989
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - /volume1/docker/sonarr/config:/config
    - /volume1/data:/data
    networks:
    torrent:

    networks:
    torrent:
    external: true