qbittorrent update

This commit is contained in:
STAM 2024-02-09 17:42:13 +03:00
parent 2089ca8a7c
commit fd189f19f2
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
119 changed files with 3035 additions and 31 deletions

View File

@ -72,6 +72,48 @@ jobs:
- name: Test Make
run: make
- name: Build and Deploy qBittorrent 4.4.0
run: cd linux/ecosystem/qbittorrent/4.4.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.1
run: cd linux/ecosystem/qbittorrent/4.4.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.2
run: cd linux/ecosystem/qbittorrent/4.4.2 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.3
run: cd linux/ecosystem/qbittorrent/4.4.3 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.4
run: cd linux/ecosystem/qbittorrent/4.4.4 && make build && make deploy
- name: Build and Deploy qBittorrent 4.4.5
run: cd linux/ecosystem/qbittorrent/4.4.5 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.0
run: cd linux/ecosystem/qbittorrent/4.5.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.1
run: cd linux/ecosystem/qbittorrent/4.5.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.2
run: cd linux/ecosystem/qbittorrent/4.5.2 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.3
run: cd linux/ecosystem/qbittorrent/4.5.3 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.4
run: cd linux/ecosystem/qbittorrent/4.5.4 && make build && make deploy
- name: Build and Deploy qBittorrent 4.5.5
run: cd linux/ecosystem/qbittorrent/4.5.5 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.0
run: cd linux/ecosystem/qbittorrent/4.6.0 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.1
run: cd linux/ecosystem/qbittorrent/4.6.1 && make build && make deploy
- name: Build and Deploy qBittorrent 4.6.2
run: cd linux/ecosystem/qbittorrent/4.6.2 && make build && make deploy

View File

@ -11,6 +11,7 @@
* updated `LazyGIT` to `0.40.2`
* updated `p4` to `23.2` in base images
* updated `perforce` iamges - `p4` and `p4p` to `r23.1` and `r23.2`
* updated `qbittorrent` iamges
* `jan`
* new versions of images
* CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server

View File

@ -596,6 +596,19 @@ ecosystem-vk2discord-images:
ecosystem-qbittorrent-images:
cd `pwd`/linux/ecosystem/qbittorrent/4.4.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.3.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.4.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.3 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.4 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.5.5 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.0 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.1 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.2 && pwd && make build && make deploy
cd `pwd`/linux/ecosystem/qbittorrent/4.6.3 && pwd && make build && make deploy

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.0
LT1_RELEASE=1.2.15
LT2_RELEASE=2.0.5

View File

@ -5,14 +5,19 @@ ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_VERSION=4.4.0
ENV QBT_LIBTORRENT_VERSION=2.0.5
ENV QBT_PROTOCOL=http
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
##################################################################
# Files and folders

View File

@ -7,6 +7,7 @@ app:
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
@ -19,6 +20,10 @@ clean:
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2

View File

@ -1,15 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:4.4.0"
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:4.4.0-libtorrent2.0.5"
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:4.4.0-libtorrent1.2.15"
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
dockerfile: Dockerfile.lt1
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.1
LT1_RELEASE=1.2.15
LT2_RELEASE=2.0.5

View File

@ -5,14 +5,19 @@ ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_VERSION=4.4.0
ENV QBT_LIBTORRENT_VERSION=1.2.15
ENV QBT_PROTOCOL=http
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
##################################################################
# Files and folders

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.2
LT1_RELEASE=1.2.16
LT2_RELEASE=2.0.6

View File

@ -5,14 +5,19 @@ ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_VERSION=4.6.2
ENV QBT_LIBTORRENT_VERSION=1.2.19
ENV QBT_PROTOCOL=http
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
##################################################################
# Files and folders

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.3.1
LT1_RELEASE=1.2.17
LT2_RELEASE=2.0.7

View File

@ -5,14 +5,19 @@ ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_VERSION=4.6.3
ENV QBT_LIBTORRENT_VERSION=1.2.19
ENV QBT_PROTOCOL=http
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
##################################################################
# Files and folders

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.4
LT1_RELEASE=1.2.17
LT2_RELEASE=2.0.7

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.4.5
LT1_RELEASE=1.2.18
LT2_RELEASE=2.0.8

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.0
LT1_RELEASE=1.2.18
LT2_RELEASE=2.0.8

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.1
LT1_RELEASE=1.2.18
LT2_RELEASE=2.0.8

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.2
LT1_RELEASE=1.2.19
LT2_RELEASE=2.0.9

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.3
LT1_RELEASE=1.2.19
LT2_RELEASE=2.0.9

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.4
LT1_RELEASE=1.2.19
LT2_RELEASE=2.0.9

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.5.5
LT1_RELEASE=1.2.19
LT2_RELEASE=2.0.9

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

View File

@ -0,0 +1,24 @@
version: '3'
services:
qbt:
image: "epicmorg/qbittorrent:${QBT_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent2:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT2_RELEASE}
qbt-libtorrent1:
image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}"
build:
context: .
args:
QBT_RELEASE: ${QBT_RELEASE}
LT_RELEASE: ${LT1_RELEASE}

View File

@ -0,0 +1,15 @@
#!/bin/bash
: ${QBT_DIR:=/opt/qbittorrent}
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
: ${QBT_PORT_WEBUI:=8282}
: ${QBT_PORT_NAT:=1337}
: ${QBT_PORT_TRACKER:=9000}
echo "======================================================"
echo "[qbittorrent] Starting `qbittorrent-nox -v`..."
echo "======================================================"
tail -n 512 -f ${QBT_PROFILES_DIR}/qBittorrent_${QBT_PROFILE_NAME}/data/logs/* &
exec qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=${QBT_PORT_WEBUI}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -0,0 +1,3 @@
QBT_RELEASE=4.6.0
LT1_RELEASE=1.2.19
LT2_RELEASE=2.0.9

View File

@ -0,0 +1,62 @@
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
##################################################################
# ARGuments
##################################################################
#configured by dockerfile / .ENV
ARG QBT_RELEASE
ARG LT_RELEASE
ENV QBT_VERSION=${QBT_RELEASE}
ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE}
ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-${QBT_VERSION}_v${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox
ENV QBT_DIR=/opt/qbittorrent
ENV QBT_PORT_WEBUI=8282
ENV QBT_PORT_TRACKER=9000
ENV QBT_PORT_NAT=1337
ENV QBT_PROTOCOL=http
##################################################################
# Files and folders
##################################################################
RUN mkdir -p ${QBT_DIR}
############################# ####################################
# qbittorrent install
##################################################################
RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ${QBT_URL} -O /usr/bin/qbittorrent-nox && \
chmod +x /usr/bin/qbittorrent-nox && \
qbittorrent-nox --version
##################################################################
# other customisations
##################################################################
##################################################################
# cleaninig up
##################################################################
RUN apt clean -y && \
apt autoclean -y && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/apt/archives/*.deb && \
rm -rf /builds/* && \
rm -rf /valve/*
VOLUME ${QBT_DIR}
#healthcheck. good practice
HEALTHCHECK --interval=2m --timeout=3s CMD curl --insecure -f ${QBT_PROTOCOL}://localhost:${QBT_PORT_WEBUI}/ || exit 1
# Add image configuration and scripts
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
RUN chmod 755 /usr/bin/docker-entrypoint.sh
#Final config
EXPOSE ${QBT_PORT_WEBUI} ${QBT_PORT_WEBUI}/udp ${QBT_PORT_NAT} ${QBT_PORT_NAT}/udp ${QBT_PORT_TRACKER} ${QBT_PORT_TRACKER}/udp
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
CMD ["docker-entrypoint.sh"]

View File

@ -0,0 +1,33 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-libtorrent2
make qbt
make qbt-libtorrent1
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af
qbt:
docker-compose build --compress --parallel --progress plain qbt
docker-compose push qbt
qbt-libtorrent2:
docker-compose build --compress --parallel --progress plain qbt-libtorrent2
docker-compose push qbt-libtorrent2
qbt-libtorrent1:
docker-compose build --compress --parallel --progress plain qbt-libtorrent1
docker-compose push qbt-libtorrent1

View File

@ -0,0 +1,80 @@
## Build info
The [Qbittorrent](https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.
[![qbittorrent](https://github.com/EpicMorg/docker-scripts/raw/master/qbittorrent/qbittorrent-icon.png)](https://www.qbittorrent.org/)
All presented images avalible on our repo in docker hub.
* qbittorrent `latest`, `stable` and `unstable` images are also avalible here.
### Environments
`````
QBT_PROFILES_DIR=/opt/qbittorrent/profiles
QBT_PROFILE_NAME=docker
QBT_PORT_WEBUI=8282
QBT_PORT_NAT=1337
QBT_PORT_TRACKER=9000
`````
### Exampe
``` yaml
version: '3.9'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
container_name: qbittorrent
hostname: qbittorrent
restart: always
ports:
- "8282:8282"
- "1337:1337/udp"
- "1337:1337/tcp"
- "9000:9000/udp"
- "9000:9000/tcp"
cap_add:
- ALL
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- /opt/docker/data/qbt/profiles:/opt/qbittorrent/profiles
environment:
- QBT_PROFILE_NAME=docker
- QBT_PORT_WEBUI=8282
- QBT_PORT_NAT=1337
- QBT_PORT_TRACKER=9000
tmpfs:
- /tmp
```
### Ngnix
```
server {
listen 443 ssl http2;
server_name torrent.domain.tld;
ssl_certificate /etc/ssl/torrent.domain.tld.fullchain.crt;
ssl_certificate_key /etc/ssl/torrent.domain.tld.key;
location / {
proxy_pass http://qbittorrent:8282;
proxy_http_version 1.1;
proxy_set_header Host 127.0.0.1:8282;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_cookie_path / "/; Secure";
client_max_body_size 0;
}
}
```

View File

@ -0,0 +1,18 @@
version: '3'
services:
qbittorrent:
image: epicmorg/qbittorrent:latest
restart: always
container_name: qbittorrent
ports:
- "0.0.0.0:8282:8282"
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /etc/letsencrypt:/etc/letsencrypt
- /opt/qbittorrent/profiles:/opt/qbittorrent/profiles
tmpfs:
- /tmp
environment:
- QBT_PROFILE_NAME=docker

Some files were not shown because too many files have changed in this diff Show More