set torrent f to QBittorrent

This commit is contained in:
Florian Zirker 2022-05-27 15:41:52 +02:00
parent d7d4f40779
commit d78ae2ef61

View file

@ -1,67 +1,37 @@
version: "3.3" version: "3.3"
services: services:
qbittorrent: qbittorrent:
image: linuxserver/qbittorrent image: linuxserver/qbittorrent
environment: environment:
- PUID=1000 # - PUID=1000
- PGID=1000 # - PGID=1000
- TZ=Europe/Berlin - TZ=Europe/Berlin
- WEBUI_PORT=8090 - WEBUI_PORT=8090
volumes: volumes:
- ${VOLUMES_PATH}/torrent:/config - ${VOLUMES_PATH}/torrent:/config
- ${DOWNLOAD_PATH}:/downloads - ${DOWNLOAD_PATH}/:/downloads
ports: ports:
- 6881:6881 - 6881:6881
- 6881:6881/udp - 6881:6881/udp
# - 8090:8090 # - 8090:8090
networks: networks:
- web - web
labels: 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=8090"
- "traefik.http.services.torrent.loadbalancer.passhostheader=false" - "traefik.http.services.torrent.loadbalancer.passhostheader=false"
- "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.X-Frame-Options=SAMEORIGIN" - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.X-Frame-Options=SAMEORIGIN"
- "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Referer=" - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Referer="
- "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Origin=" - "traefik.http.middlewares.torrentHeader.headers.customRequestHeaders.Origin="
- "traefik.http.routers.torrent.middlewares=torrentHeader" - "traefik.http.routers.torrent.middlewares=torrentHeader"
- "docker.group=torrent" - "docker.group=torrent"
restart: unless-stopped restart: unless-stopped
## Transmission ist simple, aber auch sehr langsam, GUI nicht gut
# transmission:
# image: linuxserver/transmission
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Europe/Berlin
# - TRANSMISSION_WEB_HOME=/kettu #/combustion-release/ #optional
# - USER=${WEB_USER_USERNAME}
# - PASS=${WEB_USER_PASSWORD}
# #- WHITELIST=iplist #optional
# volumes:
# - ${VOLUMES_PATH}/transmission:/config
# - ${DOWNLOAD_PATH}:/downloads
# - ${DOWNLOAD_PATH}/watch/:/watch
# ports:
# - 9091:9091
# - 51413:51413
# - 51413:51413/udp
# networks:
# - web
# 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=9091"
# - "docker.group=torrent"
# restart: unless-stopped
# singletorrent (boypt/cloud-torrent) not avalable for armv7 :(
networks: networks:
web: web:
external: true external: true