From 61b1c7e0707564bfd4843c8f846727f3042400f6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 20 Jun 2022 15:14:34 -0700 Subject: [PATCH] #25 Init qbittorrent (alongside deluge) --- seedbox/config/qbittorrent/.env | 5 ++ seedbox/config/qbittorrent/README.md | 4 + .../qbittorrent/docker-compose-test.yml | 18 +++++ seedbox/config/qbittorrent/docker-compose.yml | 74 +++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 seedbox/config/qbittorrent/.env create mode 100644 seedbox/config/qbittorrent/README.md create mode 100644 seedbox/config/qbittorrent/docker-compose-test.yml create mode 100644 seedbox/config/qbittorrent/docker-compose.yml diff --git a/seedbox/config/qbittorrent/.env b/seedbox/config/qbittorrent/.env new file mode 100644 index 0000000..f345534 --- /dev/null +++ b/seedbox/config/qbittorrent/.env @@ -0,0 +1,5 @@ +DOCKER_DATA=/home/joey/data/qbittorrent +PUID=1000 +PGID=1000 +TZ=America/Los_Angeles +WEBUI_PORT=8080 \ No newline at end of file diff --git a/seedbox/config/qbittorrent/README.md b/seedbox/config/qbittorrent/README.md new file mode 100644 index 0000000..64971e1 --- /dev/null +++ b/seedbox/config/qbittorrent/README.md @@ -0,0 +1,4 @@ +## Create a Torrent File +On Windows, use qBitTorrent's [Torrent Creator](https://www.ghacks.net/2019/09/20/how-to-create-a-private-torrent-using-qbittorrent/) +On Linux (CLI), use [`ctorrent`](http://manpages.ubuntu.com/manpages/bionic/man1/ctorrent.1.html). (Like: `ctorrent -t -s output_file.torrent /path/to/source/dir`) + diff --git a/seedbox/config/qbittorrent/docker-compose-test.yml b/seedbox/config/qbittorrent/docker-compose-test.yml new file mode 100644 index 0000000..477bf8b --- /dev/null +++ b/seedbox/config/qbittorrent/docker-compose-test.yml @@ -0,0 +1,18 @@ +version: '3' +services: + qbittorrent-pub: + image: linuxserver/qbittorrent + container_name: qbittorrent_pub + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52300:6881 + volumes: + - $DOCKER_DATA/pub:/config + - /mnt/torrenting/PUB/0:/downloads + +networks: + qbittorrent: \ No newline at end of file diff --git a/seedbox/config/qbittorrent/docker-compose.yml b/seedbox/config/qbittorrent/docker-compose.yml new file mode 100644 index 0000000..8ff41e6 --- /dev/null +++ b/seedbox/config/qbittorrent/docker-compose.yml @@ -0,0 +1,74 @@ +version: '3' +services: + qbittorrent-ggn: + image: linuxserver/qbittorrent + container_name: qbittorrent_ggn + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52000:6881 + volumes: + - $DOCKER_DATA/ggn:/config + - /mnt/torrenting/GGN/0:/downloads + + qbittorrent-mam: + image: linuxserver/qbittorrent + container_name: qbittorrent_mam + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52100:6881 + volumes: + - $DOCKER_DATA/mam:/config + - /mnt/torrenting/MAM/0:/downloads + + qbittorrent-emp: + image: linuxserver/qbittorrent + container_name: qbittorrent_emp + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52200:6881 + volumes: + - $DOCKER_DATA/emp:/config + - /mnt/torrenting/EMP/0:/downloads + + qbittorrent-pub: + image: linuxserver/qbittorrent + container_name: qbittorrent_pub + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52300:6881 + volumes: + - $DOCKER_DATA/pub:/config + - /mnt/torrenting/PUB/0:/downloads + + qbittorrent-red: + image: linuxserver/qbittorrent + container_name: qbittorrent_red + networks: + - qbittorrent + restart: "no" + env_file: + - .env + ports: + - 52400:6881 + volumes: + - $DOCKER_DATA/red:/config + - /mnt/torrenting/RED/0:/downloads + +networks: + qbittorrent: \ No newline at end of file