mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-07 20:40:28 +08:00
* 4.1.19-develop1 * [pre-commit.ci] pre-commit autoupdate (#750) updates: - [github.com/PyCQA/flake8: 7.1.1 → 7.1.2](https://github.com/PyCQA/flake8/compare/7.1.1...7.1.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Update SUPPORTED_VERSIONS.json for master (#760) * 4.1.18-develop1 * Bump flake8 from 7.1.1 to 7.1.2 (#748) Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.1 to 7.1.2. - [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump humanize from 4.11.0 to 4.12.0 (#749) Bumps [humanize](https://github.com/python-humanize/humanize) from 4.11.0 to 4.12.0. - [Release notes](https://github.com/python-humanize/humanize/releases) - [Commits](https://github.com/python-humanize/humanize/compare/4.11.0...4.12.0) --- updated-dependencies: - dependency-name: humanize dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump humanize from 4.12.0 to 4.12.1 (#753) Bumps [humanize](https://github.com/python-humanize/humanize) from 4.12.0 to 4.12.1. - [Release notes](https://github.com/python-humanize/humanize/releases) - [Commits](https://github.com/python-humanize/humanize/compare/4.12.0...4.12.1) --- updated-dependencies: - dependency-name: humanize dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump qbittorrent-api from 2024.12.71 to 2025.2.0 (#752) * Update SUPPORTED_VERSIONS.json (#754) * chore(docs): Sync wiki to docs [skip-cd] * 4.1.18 * Update SUPPORTED_VERSIONS.json --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: bobokun <jon.cy.lee98@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Actionbot <actions@github.com> Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> * Add "torrent deleted" and "torrent banned" as unregistered (#746) * 4.1.18-develop1 * Update util.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: bobokun <jon.cy.lee98@gmail.com> Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Adds additional comments for nexusPHP remove_registered * Removes cross-seed deprecated function (Adds #758) * Adds #757 * Fixes #755 * Adds #756 * Fixes #756 * chore(config): make config example more sample-like (#761) users think the config is defaults not a sample * show qbitorrent version info instead of debug * 4.2.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Actionbot <actions@github.com> Co-authored-by: Ninboy <ninboy@users.noreply.github.com> Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
60 lines
3.2 KiB
Markdown
60 lines
3.2 KiB
Markdown
# Docker Installation
|
|
|
|
A simple Dockerfile is available in this repo if you'd like to build it yourself.
|
|
The official build on github is available [here](https://ghcr.io/StuffAnThings/qbit_manage): <br>
|
|
`docker run -it -v <PATH_TO_CONFIG>:/config:rw ghcr.io/stuffanthings/qbit_manage:latest`
|
|
|
|
* The -v <PATH_TO_CONFIG>:/config:rw mounts the location you choose as a persistent volume to store your files.
|
|
* Change <PATH_TO_CONFIG> to a folder where your config.yml and other files are.
|
|
* The docker image defaults to running the config named config.yml in your persistent volume.
|
|
* Use quotes around the whole thing if your path has spaces i.e. -v "<PATH_TO_CONFIG>:/config:rw"
|
|
|
|
* Fill out your location for your downloads downloads folder (`Root_Dir`).
|
|
1. qbit_manage needs to be able to view all torrents the way that your qbittorrent views them.
|
|
1. Example: If you have qbittorrent mapped to `/mnt/user/data/:/data` This means that you **MUST** have qbit_managed mapped the same way.
|
|
2. Furthermore, the config file must map the root directory you wish to monitor. This means that in our example of `/data` (which is how qbittorrent views the torrents) that if in your `/data` directory you drill down to `/torrents` that you'll need to update your config file to `/data/torrents`
|
|
2. This could be different depending on your specific setup.
|
|
3. The key takeaways are
|
|
1. Both qbit_manage needs to have the same mappings as qbittorrent
|
|
2. The config file needs to drill down (if required) further to the desired root dir.
|
|
* `remote_dir`: is not required and can be commented out with `#`
|
|
|
|
Please see [Commands](https://github.com/StuffAnThings/qbit_manage/wiki/Commands) for a list of arguments and docker environment variables.
|
|
|
|
Here is an example of a docker compose
|
|
|
|
```yaml
|
|
version: "3.7"
|
|
services:
|
|
qbit_manage:
|
|
container_name: qbit_manage
|
|
image: ghcr.io/stuffanthings/qbit_manage:latest
|
|
volumes:
|
|
- /mnt/user/appdata/qbit_manage/:/config:rw
|
|
- /mnt/user/data/torrents/:/data/torrents:rw
|
|
- /mnt/user/appdata/qbittorrent/:/qbittorrent/:ro
|
|
environment:
|
|
- QBT_RUN=false
|
|
- QBT_SCHEDULE=1440
|
|
- QBT_CONFIG=/config/config.yml
|
|
- QBT_LOGFILE=activity.log
|
|
- QBT_RECHECK=false
|
|
- QBT_CAT_UPDATE=false
|
|
- QBT_TAG_UPDATE=false
|
|
- QBT_REM_UNREGISTERED=false
|
|
- QBT_REM_ORPHANED=false
|
|
- QBT_TAG_TRACKER_ERROR=false
|
|
- QBT_TAG_NOHARDLINKS=false
|
|
- QBT_SHARE_LIMITS=false
|
|
- QBT_SKIP_CLEANUP=false
|
|
- QBT_DRY_RUN=false
|
|
- QBT_LOG_LEVEL=INFO
|
|
- QBT_DIVIDER==
|
|
- QBT_WIDTH=100
|
|
restart: on-failure:2
|
|
```
|
|
|
|
You will also need to define not just the config volume but the volume to your torrents, this is in order to use the recycling bin, remove orphans and the no hard link options
|
|
|
|
Here we have `/mnt/user/data/torrents/` mapped to `/data/torrents/` furthermore in the config file associated with it the root_dir is mapped to `/data/torrents/`
|
|
We also have `/mnt/user/appdata/qbittorrent/` mapped to `/qbittorrent` and in the config file we associated torrents_dir to `/qbittorrent/data/BT_backup` to use the save_torrents functionality
|