From 6604892534f951ebb2a25f7dbb97e2f2676ed9b5 Mon Sep 17 00:00:00 2001 From: Mogeko Date: Tue, 16 Nov 2021 19:02:16 +0000 Subject: [PATCH] docs: enable configuration files --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 289e5c5..2382513 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ docker run -d \ -p 6881:6881 \ -p 6881:6881/udp \ -p 8080:8080 \ + -v /path/to/config:/config \ -v /path/to/downloads:/downloads \ --restart unless-stopped \ ghcr.io/mogeko/qbittorrent @@ -45,6 +46,7 @@ services: environment: - QBT_WEBUI_PORT=8080 volumes: + - /path/to/config:/config - /path/to/downloads:/downloads ports: - 6881:6881 @@ -63,6 +65,7 @@ Container images are configured using parameters passed at runtime (such as thos | `-p 6881/udp` | udp connection port | | `-p 8080` | The Web UI port | | `-e QBT_WEBUI_PORT=8080` | Change the Web UI port | +| `-v /config` | Save the configuration files | | `-v /downloads` | Location of downloads on disk | The `qbittorrent-nox`'s options may be supplied via environment variables[^2]. For option named 'parameter-name', environment variable name is `QBT_PARAMETER_NAME` (in uppercase, `-` replaced with `_`). To pass flag values, set the variable to `1` or `TRUE`. Here is an example we already in used: `-e QBT_WEBUI_PORT=8080`.