NZBGet
Usenet downloader.
See NZBGet Docker and Documentation.
Ports
NZBGet Ports
Port
Protocol
Type
Purpose
6789
TCP
EXPOSED
Default NZBGet webservice (http)
6791
TCP
EXPOSED
Default NZBGet webservice (https)
Updated: None
Files
NZBGet Files
Location
Purpose
/config
NZBGet main service directory
/downloads
NZBGet monitored downloads directory
Updated: None
Docker Creation
You can copy your existing configuration to docker /config
directory
adjusting for paths.
The UID/GID should be set to a user/group that have access to your media. All media clients should run under the same user to run correctly.
Map your media directly to where it was before on the docker container to prevent needing to modify any libraries. This should be read-only.
nzbget:
image: linuxserver/nzbget:latest
restart: unless-stopped
environment:
- PGID=1001
- PUID=1001
- TZ=America/Los_Angeles
volumes:
- /data/downloads:/data/downloads
- /data/services/nzbget:/config
- /etc/localtime:/etc/localtime:ro
Proxy will forward traffic to the container, so no ports need to be exposed.
Reverse Proxy Setup
Allows you to isolate your containers as well as wrap connections in SSL. See NGINX for more details. See Setup Base Proxy Control for basic proxy configuration.
See NZBGet reverse proxy reference.
Using Subdomains
server {
listen 443 ssl http2;
server_name nzbget.{DOMAIN} nzbget;
location / {
proxy_pass http://nzbget:6791;
include /etc/nginx/conf.d/proxy-control.conf;
proxy_set_header Host $host;
}
}
Using Subpaths
server {
location /nzbget/ {
proxy_pass https://nzbget:6791/;
include /etc/nginx/conf.d/proxy-control.conf;
proxy_set_header Host $host;
}
}
Basic Configuration
Example NZBGet configuration. Adjust as needed.
# 19.1 options
MainDir=/data/services/nzbget
DestDir=/data/downloads/complete
InterDir=/data/downloads/incomplete
NzbDir=/data/downloads/watched
QueueDir=${MainDir}/queue
TempDir=${MainDir}/tmp
WebDir=${AppDir}/webui
ScriptDir=${MainDir}/scripts
LockFile=${MainDir}/nzbget.lock
LogFile=${MainDir}/nzbget.log
ConfigTemplate=${AppDir}/webui/nzbget.conf.template
RequiredDir=/data/downloads
CertStore=${AppDir}/cacert.pem
ControlIP=0.0.0.0
ControlPort=
ControlUsername={WEB USERNAME}
ControlPassword={WEB PASSWORD}
RestrictedUsername={API USERNAME}
RestrictedPassword={API PASSWORD}
FormAuth=no
SecureControl=yes
SecurePort=6791
SecureCert=/data/services/nzbget/nzbget.crt
SecureKey=/data/services/nzbget/nzbget.key
AuthorizedIP=
CertCheck=yes
DaemonUsername=nzbget
UMask=0007
AppendCategoryDir=yes
NzbDirInterval=5
NzbDirFileAge=60
DupeCheck=yes
SaveQueue=yes
FlushQueue=yes
ReloadQueue=yes
ContinuePartial=yes
PropagationDelay=0
Decode=yes
ArticleCache=2000
DirectWrite=yes
WriteBuffer=1024
CrcCheck=yes
FileNaming=auto
ReorderFiles=yes
PostStrategy=balanced
DiskSpace=250
NzbCleanupDisk=yes
KeepHistory=30
FeedHistory=7
ArticleRetries=3
ArticleInterval=10
ArticleTimeout=60
UrlRetries=3
UrlInterval=10
UrlTimeout=60
TerminateTimeout=600
DownloadRate=0
AccurateRate=no
UrlConnections=4
UrlForce=no
MonthlyQuota=0
QuotaStartDay=1
DailyQuota=0
WriteLog=append
RotateLog=3
ErrorTarget=log
WarningTarget=log
InfoTarget=log
DetailTarget=log
DebugTarget=log
LogBufferSize=1000
NzbLog=yes
BrokenLog=yes
CrashTrace=yes
CrashDump=no
TimeCorrection=0
OutputMode=curses
CursesNzbName=yes
CursesGroup=no
CursesTime=no
UpdateInterval=200
ParCheck=auto
ParRepair=yes
ParScan=extended
ParQuick=yes
ParBuffer=256
ParThreads=0
ParIgnoreExt=.nfo, .sfv, .nzb, .srr, .info, .idx, .txt, .db, .md5, .par2, .png, .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .jpg, .jpeg, .url, .lnk, .html, htm, .ini, .bat, .com, .exe, .scr, .sample
ParRename=yes
RarRename=yes
DirectRename=no
HealthCheck=none
ParTimeLimit=0
ParPauseQueue=no
Unpack=yes
DirectUnpack=no
UnpackPauseQueue=no
UnpackCleanupDisk=yes
UnrarCmd=${AppDir}/unrar
SevenZipCmd=${AppDir}/7za
ExtCleanupDisk=.nfo, .sfv, .nzb, .srr, .info, .idx, .txt, .db, .md5, .par2, .png, .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .jpg, .jpeg, .url, .lnk, .html, htm, .ini, .bat, .com, .exe, .scr, .sample, .par2, _brokenlog.txt
UnpackIgnoreExt=.cbr
UnpackPassFile=