Files
docker-qbittorrent/docker-compose.yaml
2025-05-03 16:44:55 +00:00

29 lines
869 B
YAML

version: '3.8'
services:
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
ports:
- ${WEBUI_PORT}:${WEBUI_PORT} # Web UI
- 6881:6881 # Torrent port TCP
- 6881:6881/udp #Torrent Port UDP
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
volumes:
- ./qbittorrent/config:/config
- ./qbittorrent/downloads:/downloads
restart: unless-stopped
qbittorrent-exporter:
image: 'caseyscarborough/qbittorrent-exporter:latest'
ports:
- 0.0.0.0:17871:17871
environment:
- QBITTORRENT_BASE_URL=${QBT_URL}
- QBITTORRENT_PASSWORD=${QBT_PASSWORD}
- QBITTORRENT_USERNAME=${QBT_USERNAME}
- QBITTORRENT_HOST=qbittorrent
- QBITTORRENT_PORT=${WEBUI_PORT}
- QBITTORRENT_PROTOCOL=http
container_name: qbittorrent-exporter