From 802030e0baf4939c6a423f975c84ac916eb56d66 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 24 Jun 2022 16:45:57 -0700 Subject: [PATCH] Init qbittorrent on server --- server/config/qbittorrent/.env | 6 ++++++ server/config/qbittorrent/docker-compose.yml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 server/config/qbittorrent/.env create mode 100644 server/config/qbittorrent/docker-compose.yml diff --git a/server/config/qbittorrent/.env b/server/config/qbittorrent/.env new file mode 100644 index 0000000..51686e2 --- /dev/null +++ b/server/config/qbittorrent/.env @@ -0,0 +1,6 @@ +DOCKER_DATA=/home/joey/data/qbittorrent +TORRENT_DATA=/mnt/nas/torrenting +PUID=1000 +PGID=1000 +TZ=America/Los_Angeles +WEBUI_PORT=8080 \ No newline at end of file diff --git a/server/config/qbittorrent/docker-compose.yml b/server/config/qbittorrent/docker-compose.yml new file mode 100644 index 0000000..bd0adab --- /dev/null +++ b/server/config/qbittorrent/docker-compose.yml @@ -0,0 +1,19 @@ +version: "3" +services: + qbittorrent: + image: linuxserver/qbittorrent + container_name: qbittorrent + networks: + - web + restart: "no" + env_file: + - .env + ports: + - 50000:6881 + labels: + - traefik.http.routers.qbt.rule=Host(`qbt.jafner.net`) + - traefik.http.routers.qbt.tls.certresolver=lets-encrypt + +networks: + web: + external: true \ No newline at end of file