Last active
December 27, 2022 18:48
-
-
Save PlugFox/0bd394014c286ad39e8449582caf71d9 to your computer and use it in GitHub Desktop.
Docker QBitTorrents client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
docker stop qbittorrent | |
docker rm qbittorrent | |
mkdir -p $PWD/qbittorrent/{config,torrents,downloads} | |
# --rm --net=host --restart unless-stopped --user $UID:$GID \ | |
docker run -d \ | |
--name qbittorrent \ | |
-e PUID=$UID -e PGID=$GID \ | |
-e TZ=Europe/London \ | |
-e WEBUI_PORT=8090 \ | |
-p 8090:8090 -p 6881:6881/tcp -p 6881:6881/udp \ | |
-v $PWD/qbittorrent/config:/config \ | |
-v $PWD/qbittorrent/torrents:/torrents \ | |
-v $PWD/qbittorrent/downloads:/downloads \ | |
lscr.io/linuxserver/qbittorrent:latest | |
# username: admin, password: adminadmin | |
open http://admin:adminadmin@localhost:8090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment