Add docker-compose.yaml
This commit is contained in:
29
docker-compose.yaml
Normal file
29
docker-compose.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
Reference in New Issue
Block a user