1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00
Files
geek-cookbook/docs/recipes/autopirate/nzbget.md
2023-07-25 13:47:23 +12:00

2.1 KiB

title, description, slug
title description slug
How to download from usenet using NZBGet in Docker NZBGet is a tool for downloading "content" from Usenet providers, and is the workhorse of our Autopirate Docker Swarm stack NZBGet

NZBGet in Autopirate Docker Swarm stack

{% include 'try-in-elfhosted.md' %}

!!! warning This is not a complete recipe - it's a component of the AutoPirate "uber-recipe", but has been split into its own page to reduce complexity.

Introduction

NZBGet performs the same function as [SABnzbd][sabnzbd] (downloading content from Usenet servers), but it's lightweight and fast(er), written in C++ (as opposed to Python).

NZBGet Screenshot

Inclusion into AutoPirate

To include NZBGet in your AutoPirate stack, include something like the following example in your autopirate.yml docker-compose stack definition file:

nzbget:
  image: lscr.io/linuxserver/nzbget
  env_file : /var/data/config/autopirate/nzbget.env  
  volumes:
   - /var/data/autopirate/nzbget:/config
   - /var/data/media:/data
  networks:
  - internal
  deploy:
    labels:
      # traefik
      - traefik.enable=true
      - traefik.docker.network=traefik_public

      # traefikv1
      - traefik.frontend.rule=Host:nzbget.example.com
      - traefik.port=6789
      - traefik.frontend.auth.forward.address=http://traefik-forward-auth:4181
      - traefik.frontend.auth.forward.authResponseHeaders=X-Forwarded-User
      - traefik.frontend.auth.forward.trustForwardHeader=true        

      # traefikv2
      - "traefik.http.routers.nzbget.rule=Host(`nzbget.example.com`)"
      - "traefik.http.routers.nzbget.entrypoints=https"
      - "traefik.http.services.nzbget.loadbalancer.server.port=6789"
      - "traefik.http.routers.nzbget.middlewares=forward-auth"

--8<-- "premix-cta.md" --8<-- "recipe-autopirate-toc.md" --8<-- "recipe-footer.md"