Skip to content

Commit 7d6c0ca

Browse files
committed
Allow to mount in ro the downoad directory
1 parent 76593e0 commit 7d6c0ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bittorrent-superseeder/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The instance can be configurd via environnment variables:
2222
* `DOWNLOAD_DIRECTORY_PATH`: directory path you want to have the ZIM files stored
2323
* `DATA_PORT`: TCP & UDP ports for the data exchanges
2424
* `ADMIN_PORT`: TCP admin port for qBittorrent
25+
* `DOWNLOAD_DIRECTORY_MODE=ro` if the ZIM files are already downloaded and you don't want any data to be downloaded from qBittorrent.
2526

2627
You can gather this conf in an environment file for example and run for example:
2728
```bash

bittorrent-superseeder/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
image: linuxserver/qbittorrent:4.4.1
66
container_name: qbittorrent
77
volumes:
8-
- "${DOWNLOAD_DIRECTORY_PATH:?Specify a DOWNLOAD_DIRECTORY_PATH environment value}:/downloads"
8+
- "${DOWNLOAD_DIRECTORY_PATH:?Specify a DOWNLOAD_DIRECTORY_PATH environment value}:/downloads:${DOWNLOAD_DIRECTORY_MODE:-rw}"
99
ports:
1010
- "${DATA_PORT:-6881}:6881/udp"
1111
- "${DATA_PORT:-6881}:6881/tcp"

0 commit comments

Comments
 (0)