diff --git a/nas/qbittorrent/docker-compose.yml b/nas/qbittorrent/docker-compose.yml new file mode 100644 index 0000000..6a827da --- /dev/null +++ b/nas/qbittorrent/docker-compose.yml @@ -0,0 +1,38 @@ +--- +services: + qbittorrent: + image: lscr.io/linuxserver/qbittorrent:latest + container_name: qbittorrent + restart: unless-stopped + environment: + - PUID=1026 + - PGID=1026 + - TZ=America/New_York + - WEBUI_PORT=8080 + - TORRENTING_PORT=6881 + + volumes: + - qbittorrent_data:/config + - /volume1/downloads:/downloads + + + labels: + - "traefik.enable=true" + - "traefik.http.services.qbittorrent.loadbalancer.server.port=8080" + - 'traefik.http.routers.qbittorrent.middlewares=' + + networks: + - web + + ports: + - 8080:8080 + - 6881:6881 + - 6881:6881/udp +networks: + web: + external: true + +volumes: + qbittorrent_data: + driver: local + name: qbittorrent_data \ No newline at end of file