services:
qbittorrent2:
image: qbittorrentofficial/qbittorrent-nox
container_name: qbittorrent2
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.services.torrent2.loadbalancer.server.port: 8080
traefik.http.routers.torrent2-https.rule: Host(`torrent2.example.com`)
traefik.http.routers.torrent2-https.entrypoints: https
traefik.http.routers.torrent2-https.tls: true
environment:
QBT_LEGAL_NOTICE: confirm
QBT_VERSION: latest
QBT_TORRENTING_PORT: 43706
QBT_WEBUI_PORT: 8081
QBT_CONFIG_PATH: /config
QBT_DOWNLOADS_PATH: /downloads
TZ: $TZ
volumes:
- config:/config
- downloads:/downloads
- downloads-incomplete:/downloads-incomplete
networks:
- traefik
ports:
- 43706:43706
- 8081:8081
volumes:
config:
driver: local
driver_opts:
type: none
o: bind
device: $VOLUMES_PATH_PREFIX/qbittorrent2/volumes/config
downloads:
driver: local
driver_opts:
type: cifs
o: username=user,password=password,vers=3.0,rw,uid=1000,gid=1000,file_mode=0775,dir_mode=0775
device: //$SMB_IP/storage/downloads
downloads-incomplete:
driver: local
driver_opts:
type: cifs
o: username=user,password=password,vers=3.0,rw,uid=1000,gid=1000,file_mode=0775,dir_mode=0775
device: //$SMB_IP/storage/downloads/incomplete
networks:
traefik:
external: true
What's wrong?