From cea4680240fbcefa1b7ee5686462dbedcea12a19 Mon Sep 17 00:00:00 2001 From: Florian Zirker Date: Mon, 20 Feb 2023 11:51:36 +0100 Subject: [PATCH] QBittorrent -> Transmission 4.0 --- torrent/docker-compose.yaml | 44 +++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/torrent/docker-compose.yaml b/torrent/docker-compose.yaml index 5503068..35fccaf 100644 --- a/torrent/docker-compose.yaml +++ b/torrent/docker-compose.yaml @@ -1,32 +1,28 @@ services: - qbittorrent: - image: linuxserver/qbittorrent - environment: -# - PUID=1000 -# - PGID=1000 - - TZ=Europe/Berlin - - WEBUI_PORT=8090 - volumes: - - ${VOLUMES_PATH}/torrent:/config - - ${DOWNLOAD_PATH}/:/downloads - ports: - - 6881:6881 - - 6881:6881/udp -# - 8090:8090 - networks: - - web - labels: + + transmission: + image: lscr.io/linuxserver/transmission:${TRANSMISSION_VERSION} + environment: + - TZ=Etc/UTC + - USER=${USERNAME} + - PASS=${PASSWORD} + volumes: + - ${VOLUMES_PATH}/torrent/transmission:/config + - ${DOWNLOAD_PATH}:/downloads + - ${DOWNLOAD_PATH}/watch:/watch + networks: + - web + ports: +# - 9091:9091 + - 51413:51413 + - 51413:51413/udp + restart: unless-stopped + labels: - "traefik.enable=true" - "traefik.http.routers.torrent.rule=Host(`torrent.${DOMAIN}`)" - "traefik.http.routers.torrent.entrypoints=web" - - "traefik.http.services.torrent.loadbalancer.server.port=8090" - - "traefik.http.services.torrent.loadbalancer.passhostheader=false" - - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.X-Frame-Options=SAMEORIGIN" - - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Referer=" - - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Origin=" - - "traefik.http.routers.torrent.middlewares=torrentHeader" + - "traefik.http.services.torrent.loadbalancer.server.port=9091" - "docker.group=torrent" - restart: unless-stopped networks: web: