mirror of
https://github.com/qbittorrent/docker-qbittorrent-nox.git
synced 2024-11-23 01:09:41 +00:00
Add configuration for docker stack
Some checks are pending
CI / CI (linux/amd64) (push) Waiting to run
Some checks are pending
CI / CI (linux/amd64) (push) Waiting to run
This commit is contained in:
parent
1e739545d9
commit
c116c6c5ee
@ -36,6 +36,9 @@ https://github.com/qbittorrent/qBittorrent/issues
|
||||
|
||||
2. Edit Docker environment file
|
||||
|
||||
If you are using Docker Stack, refer to [docker-stack.yml](https://github.com/qbittorrent/docker-qbittorrent-nox/blob/main/docker-stack.yml) file as an example. \
|
||||
It is an almost ready-to-use configuration yet a few variables are required to be filled in. Make sure you read the following steps as they largely share the same concept.
|
||||
|
||||
If you are not using Docker Compose you can skip editing the environment file.
|
||||
However the variables presented below is crucial in later steps, make sure you understand them.
|
||||
|
||||
|
30
docker-stack.yml
Normal file
30
docker-stack.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
qbittorrent-nox:
|
||||
# for debugging
|
||||
#cap_add:
|
||||
#- SYS_PTRACE
|
||||
environment:
|
||||
#- PAGID=10000
|
||||
#- PGID=1000
|
||||
#- PUID=1000
|
||||
- QBT_LEGAL_NOTICE=
|
||||
- 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
|
||||
tmpfs:
|
||||
- /tmp
|
||||
tty: true
|
||||
volumes:
|
||||
- <your_path>/config:/config
|
||||
- <your_path>/downloads:/downloads
|
Loading…
Reference in New Issue
Block a user