QBittorrent -> Transmission 4.0

This commit is contained in:
Florian Zirker 2023-02-20 11:51:36 +01:00
parent 502db16165
commit cea4680240

View file

@ -1,32 +1,28 @@
services: services:
qbittorrent:
image: linuxserver/qbittorrent transmission:
environment: image: lscr.io/linuxserver/transmission:${TRANSMISSION_VERSION}
# - PUID=1000 environment:
# - PGID=1000 - TZ=Etc/UTC
- TZ=Europe/Berlin - USER=${USERNAME}
- WEBUI_PORT=8090 - PASS=${PASSWORD}
volumes: volumes:
- ${VOLUMES_PATH}/torrent:/config - ${VOLUMES_PATH}/torrent/transmission:/config
- ${DOWNLOAD_PATH}/:/downloads - ${DOWNLOAD_PATH}:/downloads
ports: - ${DOWNLOAD_PATH}/watch:/watch
- 6881:6881 networks:
- 6881:6881/udp - web
# - 8090:8090 ports:
networks: # - 9091:9091
- web - 51413:51413
labels: - 51413:51413/udp
restart: unless-stopped
labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.torrent.rule=Host(`torrent.${DOMAIN}`)" - "traefik.http.routers.torrent.rule=Host(`torrent.${DOMAIN}`)"
- "traefik.http.routers.torrent.entrypoints=web" - "traefik.http.routers.torrent.entrypoints=web"
- "traefik.http.services.torrent.loadbalancer.server.port=8090" - "traefik.http.services.torrent.loadbalancer.server.port=9091"
- "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"
- "docker.group=torrent" - "docker.group=torrent"
restart: unless-stopped
networks: networks:
web: web: