mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
qbt update
This commit is contained in:
parent
c435ef2821
commit
86b9a4cddf
@ -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
|
||||
|
||||
############################# ####################################
|
@ -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
|
34
linux/ecosystem/qbittorrent/Makefile
Normal file
34
linux/ecosystem/qbittorrent/Makefile
Normal 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
|
@ -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
|
@ -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
|
@ -1,4 +0,0 @@
|
||||
all: emgqb
|
||||
emgqb:
|
||||
docker build --compress -t epicmorg/qbittorrent:unstable .
|
||||
docker push epicmorg/qbittorrent:unstable
|
@ -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
|
@ -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
|
@ -1,6 +0,0 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/qbittorrent:stable"
|
||||
build:
|
||||
context: .
|
@ -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
|
@ -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
|
@ -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
|
||||
|
||||
|
@ -6,6 +6,8 @@ set -euo pipefail
|
||||
: ${RETRACKER_MINUTS:=180}
|
||||
: ${RETRACKER_DEBUG:=false}
|
||||
: ${RETRACKER_REAL_IP:=true}
|
||||
: ${RETRACKER_OPTS:=}
|
||||
|
||||
re='^[0-9]+$'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user