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

19 lines
910 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an
# open-source software alternative to µTorrent. qBittorrent is based on the Qt
# toolkit and libtorrent-rasterbar library.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=qbittorrent \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-e WEBUI_PORT=8080 `# for changing the port of the webui, see below for explanation` \
-p 6881:6881 `# tcp connection port` \
-p 6881:6881/udp `# udp connection port` \
-p 8080:8080 `# http gui` \
-v ${BASEDIR:-/volume1/docker}/qbittorrent/config:/config `# Contains all relevant configuration files.` \
-v ${BASEDIR:-/volume1/docker}/qbittorrent/downloads:/downloads `# Location of downloads on disk.` \
--restart unless-stopped \
ghcr.io/linuxserver/qbittorrent