mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-21 13:41:41 +00:00
55 lines
2.0 KiB
Markdown
55 lines
2.0 KiB
Markdown
---
|
|
description: NZBGet is a tool for downloading "content" from Usenet providers
|
|
---
|
|
|
|
# NZBGet
|
|
|
|
!!! warning
|
|
This is not a complete recipe - it's a component of the [AutoPirate](/recipes/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_).
|
|
|
|

|
|
|
|
## Inclusion into AutoPirate
|
|
|
|
To include NZBGet in your [AutoPirate](/recipes/autopirate/) stack
|
|
(_The only reason you **wouldn't** use NZBGet, would be if you were using [SABnzbd](/recipes/autopirate/sabnzbd/) instead_), include the following in your autopirate.yml stack definition file:
|
|
|
|
```yaml
|
|
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"
|
|
```
|
|
|
|
[^tfa]: Since we're relying on [Traefik Forward Auth][tfa] to protect us, we can just disable NZGet's own authentication, by changing ControlPassword to null in nzbget.conf (i.e. ```ControlPassword=```)
|
|
|
|
--8<-- "premix-cta.md"
|
|
--8<-- "recipe-autopirate-toc.md"
|
|
--8<-- "recipe-footer.md"
|