My SABnzbd Setup#
This SABnzbd setup runs in a Docker container and is used for managing NZB downloads. It includes configurations for environment variables, volume mounts, and networking.
Prepare the Downloads Folder#
sudo mkdir -p /home/server1/downloads
sudo chown -R 1000:1000 /home/server1/downloads
My Docker Compose Configuration#
services:
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /home/server1/sabnzbd/config:/config
- /home/server1/downloads:/downloads # optional
ports:
- "8080:8080"
restart: unless-stopped
Using Docker Secrets for Environment Variables#
You can set any environment variable from a file by using a special prepend FILE__.
For example:
FILE__MYVAR=/run/secrets/mysecretvariable