docker-bits/lsio/sabnzbd/docker-run.sh

19 lines
995 B
Bash
Raw Normal View History

2021-04-10 10:16:29 +00:00
# Sabnzbd makes Usenet as simple and streamlined as possible by automating
# everything we can. All you have to do is add an .nzb. SABnzbd takes over from
# there, where it will be automatically downloaded, verified, repaired,
# extracted and filed away with zero human interaction.
source ./.env
docker run -d \
--name=sabnzbd \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=Europe/Amsterdam `# Specify a timezone to use for example Europe/Amsterdam` \
-p 8080:8080 `# HTTP port for the WebUI.` \
-p 9090:9090 `# HTTPS port for the WebUI.` \
-v ${BASEDIR:-/volume1/docker}/sabnzbd/config:/config `# Local path for sabnzbd config files.` \
-v ${BASEDIR:-/volume1/docker}/sabnzbd/downloads:/downloads `# Local path for finished downloads.` \
-v ${BASEDIR:-/volume1/docker}/sabnzbd/incomplete-downloads:/incomplete-downloads `# optional` `# Local path for incomplete-downloads.` \
--restart unless-stopped \
ghcr.io/linuxserver/sabnzbd