homeserver/torrent/docker-compose.yaml

70 lines
2.3 KiB
YAML
Raw Normal View History

2021-03-03 11:58:20 +01:00
version: "3.3"
services:
qbittorrent:
# image: linuxserver/qbittorrent:arm32v7-version-14.3.0.99202011251333-7141-587688634ubuntu18.04.1 # geht
image: linuxserver/qbittorrent:arm32v7-version-14.3.3.99202101191832-7248-da0b276d5ubuntu18.04.1 # geht
# image: linuxserver/qbittorrent:arm32v7-version-14.3.3.99202101191832-7248-da0b276d5ubuntu20.04.1 # geht nicht :/
# image: arm32v7-version-14.3.2.99202101080148-7233-0cbd15890ubuntu18.04.1 # zu neu geht nicht :(
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:
- "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"
- "docker.group=selfhost"
restart: unless-stopped
# 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}/torrent:/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=selfhost"
# restart: unless-stopped
networks:
web:
external: true