mirror of
https://github.com/qbittorrent/docker-qbittorrent-nox.git
synced 2024-11-23 09:19:47 +00:00
2d41945ee0
It is declared obsolete by docker compose. https://github.com/docker/compose/issues/11628
31 lines
723 B
YAML
31 lines
723 B
YAML
services:
|
|
qbittorrent-nox:
|
|
# for debugging
|
|
#cap_add:
|
|
#- SYS_PTRACE
|
|
container_name: qbittorrent-nox
|
|
environment:
|
|
#- PAGID=10000
|
|
#- PGID=1000
|
|
#- PUID=1000
|
|
- QBT_EULA=${QBT_EULA}
|
|
- QBT_VERSION=${QBT_VERSION}
|
|
- QBT_WEBUI_PORT=${QBT_WEBUI_PORT}
|
|
#- TZ=UTC
|
|
#- UMASK=022
|
|
image: qbittorrentofficial/qbittorrent-nox:${QBT_VERSION}
|
|
ports:
|
|
# for bittorrent traffic
|
|
- 6881:6881/tcp
|
|
- 6881:6881/udp
|
|
# for WebUI
|
|
- ${QBT_WEBUI_PORT}:${QBT_WEBUI_PORT}/tcp
|
|
read_only: true
|
|
stop_grace_period: 30m
|
|
tmpfs:
|
|
- /tmp
|
|
tty: true
|
|
volumes:
|
|
- ${QBT_CONFIG_PATH}:/config
|
|
- ${QBT_DOWNLOADS_PATH}:/downloads
|