Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Dictate qbittorrent version #155

Open
steventhorne opened this issue Feb 14, 2023 · 1 comment
Open

Dictate qbittorrent version #155

steventhorne opened this issue Feb 14, 2023 · 1 comment

Comments

@steventhorne
Copy link

It would be great if we could provide the qBittorrent version via an environment variable. I think most people don't actually want to run the latest version of qBittorrent.

Alternatively, providing an image for the 4.3.9 version of qBittorrent would be great, since a lot of private trackers won't even allow later versions of qBittorrent.

@tenseiken
Copy link

I second this idea, in theory. The environment variable suggestion wouldn't work since that sets a variable inside the container for use once it's up and running, and it's too late by that point.

The version of qbittorrent that gets used is determined in the dockerfile as the source is downloaded for compiling. It should be pretty straightforward to establish dockerfiles for earlier versions and leave them as version tags in the docker hub. That would effectively allow the user to select older versions as desired by setting the tag they want.

Alternatively, you could fork and modify the dockerfile yourself by setting the QBITTORRENT_RELEASE variable to the version you want. Line 139 is where the version is chosen. For example, you'd set that line to && QBITTORRENT_RELEASE="release-4.3.9" for 4.3.9.

Do be careful rolling back versions though. qbittorrent updates your config as you move forward, so your newer config files may not be compatible with older versions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants