qbt update

This commit is contained in:
Anatolii Zimovskii 2022-05-27 00:25:52 +03:00
parent c435ef2821
commit 86b9a4cddf
Signed by: stam
GPG Key ID: AA3A575AB99E8469
15 changed files with 50 additions and 69 deletions

View File

@ -1,4 +1,4 @@
FROM epicmorg/debian:bullseye
FROM epicmorg/debian:bookworm
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive
@ -15,8 +15,8 @@ RUN mkdir -p ${QBT_DIR}
##################################################################
# qBitTorrent sources list
##################################################################
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4
COPY qbittorrent-unstable.list /etc/apt/sources.list.d/qbittorrent-unstable.list
#RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4
#COPY qbittorrent-unstable.list /etc/apt/sources.list.d/qbittorrent-unstable.list
RUN apt autoremove -y && apt purge policykit-1 -y && apt update && apt dist-upgrade -y
############################# ####################################

View File

@ -15,9 +15,9 @@ RUN mkdir -p ${QBT_DIR}
##################################################################
# qBitTorrent sources list
##################################################################
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4
COPY qbittorrent-stable.list /etc/apt/sources.list.d/qbittorrent-stable.list
RUN apt autoremove -y && apt purge policykit-1 -y && apt update && apt dist-upgrade -y
#RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4
#COPY qbittorrent-stable.list /etc/apt/sources.list.d/qbittorrent-stable.list
#RUN apt autoremove -y && apt purge policykit-1 -y && apt update && apt dist-upgrade -y
############################# ####################################
# qbittorrent install

View File

@ -0,0 +1,34 @@
all: app
app:
make build
make deploy
make clean
build:
make qbt-latest
make qbt-unstable
make qbt-stable
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-latest:
docker-compose build --compress --parallel qbt-latest
docker-compose push qbt-latest
qbt-unstable:
docker-compose build --compress --parallel qbt-unstable
docker-compose push qbt-unstable
qbt-stable:
docker-compose build --compress --parallel qbt-stable
docker-compose push qbt-stable

View File

@ -1,10 +1,15 @@
version: '3.9'
services:
app:
qbt-latest:
image: "epicmorg/qbittorrent:latest"
build:
context: .
app-unstable:
qbt-unstable:
image: "epicmorg/qbittorrent:unstable"
build:
context: .
qbt-stable:
image: "epicmorg/qbittorrent:stable"
build:
context: .
dockerfile: Dockerfile.stable

View File

@ -1,19 +0,0 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel
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

View File

@ -1,4 +0,0 @@
all: emgqb
emgqb:
docker build --compress -t epicmorg/qbittorrent:unstable .
docker push epicmorg/qbittorrent:unstable

View File

@ -1,2 +0,0 @@
deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main
deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main

View File

@ -1,19 +0,0 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel
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

View File

@ -1,6 +0,0 @@
version: '3.9'
services:
app:
image: "epicmorg/qbittorrent:stable"
build:
context: .

View File

@ -1,9 +0,0 @@
#!/bin/bash
: ${QBT_PROFILES_DIR:=/opt/qbittorrent/profiles}
: ${QBT_PROFILE_NAME:=docker}
export LC_ALL=ru_RU.UTF-8
echo "Starting qBitTorrent..."
qbittorrent-nox --profile=${QBT_PROFILES_DIR} --configuration=${QBT_PROFILE_NAME} --webui-port=8282

View File

@ -1,2 +0,0 @@
deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main
deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main

View File

@ -10,6 +10,7 @@ ENV RETRACKER_PORT=80
ENV RETRACKER_MINUTS=180
ENV RETRACKER_DEBUG=false
ENV RETRACKER_REAL_IP=true
ENV RETRACKER_OPTS=
RUN retracker -v

View File

@ -6,6 +6,8 @@ set -euo pipefail
: ${RETRACKER_MINUTS:=180}
: ${RETRACKER_DEBUG:=false}
: ${RETRACKER_REAL_IP:=true}
: ${RETRACKER_OPTS:=}
re='^[0-9]+$'