mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-28 09:18:23 -04:00
Rebase to 3.21
This commit is contained in:
parent
02c653f874
commit
e23604ae59
6 changed files with 28 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/unrar:latest AS unrar
|
FROM ghcr.io/linuxserver/unrar:latest AS unrar
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar
|
FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
|
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
|
@ -90,6 +90,10 @@ Similarly to the WEBUI_PORT, to set the port to 6887 you need to pass -p 6887:68
|
||||||
|
|
||||||
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
||||||
|
|
||||||
|
## Non-Root Operation
|
||||||
|
|
||||||
|
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||||
|
@ -157,6 +161,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
| `-v /config` | Contains all relevant configuration files. |
|
| `-v /config` | Contains all relevant configuration files. |
|
||||||
| `-v /downloads` | Location of downloads on disk. |
|
| `-v /downloads` | Location of downloads on disk. |
|
||||||
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||||
|
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
@ -320,6 +325,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **20.12.24:** - Rebase to Alpine 3.21.
|
||||||
* **17.07.24:** - Restore qbittorrent-cli as it now supports openssl 3.
|
* **17.07.24:** - Restore qbittorrent-cli as it now supports openssl 3.
|
||||||
* **25.05.24:** - Rebase to Alpine 3.20, remove qbittorrent-cli as it still requires openssl 1.1 which is EOL.
|
* **25.05.24:** - Rebase to Alpine 3.20, remove qbittorrent-cli as it still requires openssl 1.1 which is EOL.
|
||||||
* **14.02.24:** - Only set/override torrenting port if the optional env var is set.
|
* **14.02.24:** - Only set/override torrenting port if the optional env var is set.
|
||||||
|
|
|
@ -34,6 +34,7 @@ opt_param_usage_include_vols: true
|
||||||
opt_param_volumes:
|
opt_param_volumes:
|
||||||
- {vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Location of downloads on disk."}
|
- {vol_path: "/downloads", vol_host_path: "/path/to/downloads", desc: "Location of downloads on disk."}
|
||||||
readonly_supported: true
|
readonly_supported: true
|
||||||
|
nonroot_supported: true
|
||||||
# application setup block
|
# application setup block
|
||||||
app_setup_block_enabled: true
|
app_setup_block_enabled: true
|
||||||
app_setup_block: |
|
app_setup_block: |
|
||||||
|
@ -99,6 +100,7 @@ init_diagram: |
|
||||||
"qbittorrent:libtorrentv1" <- Base Images
|
"qbittorrent:libtorrentv1" <- Base Images
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- {date: "20.12.24:", desc: "Rebase to Alpine 3.21."}
|
||||||
- {date: "17.07.24:", desc: "Restore qbittorrent-cli as it now supports openssl 3."}
|
- {date: "17.07.24:", desc: "Restore qbittorrent-cli as it now supports openssl 3."}
|
||||||
- {date: "25.05.24:", desc: "Rebase to Alpine 3.20, remove qbittorrent-cli as it still requires openssl 1.1 which is EOL."}
|
- {date: "25.05.24:", desc: "Rebase to Alpine 3.20, remove qbittorrent-cli as it still requires openssl 1.1 which is EOL."}
|
||||||
- {date: "14.02.24:", desc: "Only set/override torrenting port if the optional env var is set."}
|
- {date: "14.02.24:", desc: "Only set/override torrenting port if the optional env var is set."}
|
||||||
|
|
|
@ -9,11 +9,13 @@ if [[ ! -f /config/qBittorrent/qBittorrent.conf ]]; then
|
||||||
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
|
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# chown download directory if currently not set to abc
|
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||||
if grep -qe ' /downloads ' /proc/mounts; then
|
# chown download directory if currently not set to abc
|
||||||
lsiown abc:abc /downloads
|
if grep -qe ' /downloads ' /proc/mounts; then
|
||||||
fi
|
lsiown abc:abc /downloads
|
||||||
|
fi
|
||||||
|
|
||||||
# permissions
|
# permissions
|
||||||
lsiown -R abc:abc \
|
lsiown -R abc:abc \
|
||||||
/config
|
/config
|
||||||
|
fi
|
||||||
|
|
|
@ -11,6 +11,12 @@ if [[ -z ${WEBUI_ADDRESS} ]] || [[ ${WEBUI_ADDRESS} == "*" ]]; then
|
||||||
WEBUI_ADDRESS="localhost"
|
WEBUI_ADDRESS="localhost"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec \
|
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z ${WEBUI_ADDRESS} ${WEBUI_PORT}" \
|
exec \
|
||||||
s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" ${TORRENTING_PORT_ARG}
|
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z ${WEBUI_ADDRESS} ${WEBUI_PORT}" \
|
||||||
|
s6-setuidgid abc /app/qbittorrent-nox --webui-port="${WEBUI_PORT}" ${TORRENTING_PORT_ARG}
|
||||||
|
else
|
||||||
|
exec \
|
||||||
|
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z ${WEBUI_ADDRESS} ${WEBUI_PORT}" \
|
||||||
|
/app/qbittorrent-nox --webui-port="${WEBUI_PORT}" ${TORRENTING_PORT_ARG}
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue