37 lines
749 B
YAML
37 lines
749 B
YAML
networks:
|
|
frontend:
|
|
external: true
|
|
|
|
services:
|
|
qbittorrent-nox:
|
|
# for debugging
|
|
#cap_add:
|
|
#- SYS_PTRACE
|
|
container_name: qbittorrent
|
|
environment:
|
|
#- PAGID=10000
|
|
- PGID=1000
|
|
- PUID=1000
|
|
- QBT_EULA=accept
|
|
- QBT_VERSION=latest
|
|
- QBT_WEBUI_PORT=8080
|
|
#- TZ=UTC
|
|
#- UMASK=022
|
|
image: qbittorrentofficial/qbittorrent-nox:latest
|
|
ports:
|
|
# for bittorrent traffic
|
|
- 6881:6881/tcp
|
|
- 6881:6881/udp
|
|
# for WebUI
|
|
#- 8080:8080/tcp
|
|
read_only: true
|
|
stop_grace_period: 30m
|
|
restart: unless-stopped
|
|
tmpfs:
|
|
- /tmp
|
|
tty: true
|
|
volumes:
|
|
- /docker/qBittorrent/:/config
|
|
- /path/to/files:/files
|
|
networks:
|
|
- frontend |