mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-18 22:21:55 +03:00
26 lines
584 B
YAML
26 lines
584 B
YAML
|
version: "3.9"
|
||
|
|
||
|
services:
|
||
|
qbittorrent-nox:
|
||
|
build: .
|
||
|
container_name: qbittorrent-nox
|
||
|
environment:
|
||
|
- QBT_EULA=${QBT_EULA}
|
||
|
- QBT_VERSION=${QBT_VERSION}
|
||
|
- QBT_WEBUI_PORT=${QBT_WEBUI_PORT}
|
||
|
image: 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
|