diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index b7e7b12be..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms -patreon: epicmorg -ko_fi: epicmorg -custom: https://ko-fi.com/alexz696 - -#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -#open_collective: # Replace with a single Open Collective username -#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -#liberapay: # Replace with a single Liberapay username -#issuehunt: # Replace with a single IssueHunt username -#otechie: # Replace with a single Otechie username -#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d41b60765..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: 'bug, Regular Priority' -assignees: 'stamepicmorg' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/cve_report.md b/.github/ISSUE_TEMPLATE/cve_report.md deleted file mode 100644 index c69f58d37..000000000 --- a/.github/ISSUE_TEMPLATE/cve_report.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: CVE report -about: Create a report of some CVE -title: '[CVE] ' -labels: 'CVE, High Priority' -assignees: 'stamepicmorg' - ---- -**CVE number or URL** - -**Describe** -A clear and concise description of what the CVE is. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 982d2cd81..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: 'Feature request, help wanted' -assignees: 'stamepicmorg' -milestone: 'Due 2021 🙏' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/task_generic.md b/.github/ISSUE_TEMPLATE/task_generic.md deleted file mode 100644 index 4afb970ce..000000000 --- a/.github/ISSUE_TEMPLATE/task_generic.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Generic task -about: Create a generic task -title: '' -labels: 'task, Regular Priority' -assignees: 'stamepicmorg' - ---- - -**Describe** -A clear and concise description of what the bug is. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/test_form.yml b/.github/ISSUE_TEMPLATE/test_form.yml deleted file mode 100644 index 0a65da9f2..000000000 --- a/.github/ISSUE_TEMPLATE/test_form.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Bug Report -description: File a bug report -title: "[Bug]: " -labels: ["bug", "triage"] -projects: ["octo-org/1", "octo-org/44"] -assignees: - - octocat -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: input - id: contact - attributes: - label: Contact Details - description: How can we get in touch with you if we need more info? - placeholder: ex. email@example.com - validations: - required: false - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you see! - value: "A bug happened!" - validations: - required: true - - type: dropdown - id: version - attributes: - label: Version - description: What version of our software are you running? - options: - - 1.0.2 (Default) - - 1.0.3 (Edge) - default: 0 - validations: - required: true - - type: dropdown - id: browsers - attributes: - label: What browsers are you seeing the problem on? - multiple: true - options: - - Firefox - - Chrome - - Safari - - Microsoft Edge - - type: textarea - id: logs - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell - - type: checkboxes - id: terms - attributes: - label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) - options: - - label: I agree to follow this project's Code of Conduct - required: true - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index c7f800734..000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,13 +0,0 @@ -## Purpose -_Describe the problem or feature in addition to a link to the issues._ - -## Approach -_How does this change address the problem?_ - -#### Open Questions and Pre-Merge TODOs -- [ ] Use github checklists. When solved, check the box and explain the answer. - -## Learning -_Describe the research stage_ - -_Links to blog posts, patterns, libraries or addons used to solve this problem_ diff --git a/.github/workflows/_disabled/epicmorg.advanced.python.yml.txt b/.github/workflows/_disabled/epicmorg.advanced.python.yml.txt index 28f2c221a..7786f9a23 100644 --- a/.github/workflows/_disabled/epicmorg.advanced.python.yml.txt +++ b/.github/workflows/_disabled/epicmorg.advanced.python.yml.txt @@ -1,9 +1,7 @@ name: EpicMorg Advanced Debian Python Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '1 1 * * 1,3,5' diff --git a/.github/workflows/_disabled/epicmorg.ecosysctem.freegpt.images.yml.txt b/.github/workflows/_disabled/epicmorg.ecosysctem.freegpt.images.yml.txt index f0bc53006..52c300ecc 100644 --- a/.github/workflows/_disabled/epicmorg.ecosysctem.freegpt.images.yml.txt +++ b/.github/workflows/_disabled/epicmorg.ecosysctem.freegpt.images.yml.txt @@ -1,9 +1,6 @@ name: EpicMorg EcoSystem FreeGPT Images on: -# push: -# branches: -# - 'develop' schedule: - cron: '0 0 * * 2,4,6' diff --git a/.github/workflows/epicmorg.advanced.images.yml b/.github/workflows/epicmorg.advanced.images.yml index 821ac30f1..6740cbac9 100644 --- a/.github/workflows/epicmorg.advanced.images.yml +++ b/.github/workflows/epicmorg.advanced.images.yml @@ -1,9 +1,6 @@ name: EpicMorg Advanced Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 02 * * 2,4,6' diff --git a/.github/workflows/epicmorg.advanced.nextcloud.images.yml b/.github/workflows/epicmorg.advanced.nextcloud.images.yml index bd8efadcb..f34c02d4d 100644 --- a/.github/workflows/epicmorg.advanced.nextcloud.images.yml +++ b/.github/workflows/epicmorg.advanced.nextcloud.images.yml @@ -1,9 +1,6 @@ name: EpicMorg Advanced Nextcloud Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 02 * * 2,4,6' diff --git a/.github/workflows/epicmorg.advanced.vscode.images.yml b/.github/workflows/epicmorg.advanced.vscode.images.yml index b59c84c1c..9c43b9b5c 100644 --- a/.github/workflows/epicmorg.advanced.vscode.images.yml +++ b/.github/workflows/epicmorg.advanced.vscode.images.yml @@ -1,9 +1,6 @@ name: "EpicMorg Advanced Vscode Server Images" on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 2,4,6' diff --git a/.github/workflows/epicmorg.advanced.zabbix.images.yml b/.github/workflows/epicmorg.advanced.zabbix.images.yml index 4f6767223..fe188b6e1 100644 --- a/.github/workflows/epicmorg.advanced.zabbix.images.yml +++ b/.github/workflows/epicmorg.advanced.zabbix.images.yml @@ -1,9 +1,6 @@ name: EpicMorg Advanced Zabbix Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 03 * * 2,4,6' diff --git a/.github/workflows/epicmorg.base.images.current.atlassian.yml b/.github/workflows/epicmorg.base.images.current.atlassian.yml index 1b3c62fe7..9e168e872 100644 --- a/.github/workflows/epicmorg.base.images.current.atlassian.yml +++ b/.github/workflows/epicmorg.base.images.current.atlassian.yml @@ -1,9 +1,6 @@ name: EpicMorg EcoSystem Atlassian Main Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '5 5 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.10.yml b/.github/workflows/epicmorg.base.images.debian.10.yml index ae6b6f6d0..e76ab13d7 100644 --- a/.github/workflows/epicmorg.base.images.debian.10.yml +++ b/.github/workflows/epicmorg.base.images.debian.10.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 10 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.11.yml b/.github/workflows/epicmorg.base.images.debian.11.yml index a5e283e82..977381879 100644 --- a/.github/workflows/epicmorg.base.images.debian.11.yml +++ b/.github/workflows/epicmorg.base.images.debian.11.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 11 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.12.yml b/.github/workflows/epicmorg.base.images.debian.12.yml index 8f03122a6..e69bbd6cb 100644 --- a/.github/workflows/epicmorg.base.images.debian.12.yml +++ b/.github/workflows/epicmorg.base.images.debian.12.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 12 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.13.yml b/.github/workflows/epicmorg.base.images.debian.13.yml index a64b37927..40b09b95a 100644 --- a/.github/workflows/epicmorg.base.images.debian.13.yml +++ b/.github/workflows/epicmorg.base.images.debian.13.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 13 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '1 1 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.6.yml b/.github/workflows/epicmorg.base.images.debian.6.yml index 687f511b2..316ce88dd 100644 --- a/.github/workflows/epicmorg.base.images.debian.6.yml +++ b/.github/workflows/epicmorg.base.images.debian.6.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 6 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.7.yml b/.github/workflows/epicmorg.base.images.debian.7.yml index 93c37f861..7b11950ac 100644 --- a/.github/workflows/epicmorg.base.images.debian.7.yml +++ b/.github/workflows/epicmorg.base.images.debian.7.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 7 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.8.yml b/.github/workflows/epicmorg.base.images.debian.8.yml index 2de63e515..2dc15c8eb 100644 --- a/.github/workflows/epicmorg.base.images.debian.8.yml +++ b/.github/workflows/epicmorg.base.images.debian.8.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 8 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.9.yml b/.github/workflows/epicmorg.base.images.debian.9.yml index 31b937750..2829a61d7 100644 --- a/.github/workflows/epicmorg.base.images.debian.9.yml +++ b/.github/workflows/epicmorg.base.images.debian.9.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian 9 Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '0 0 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.debian.sid.yml b/.github/workflows/epicmorg.base.images.debian.sid.yml index a5fcea8cc..aa8e52b23 100644 --- a/.github/workflows/epicmorg.base.images.debian.sid.yml +++ b/.github/workflows/epicmorg.base.images.debian.sid.yml @@ -1,9 +1,6 @@ name: EpicMorg Debian SID Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '2 2 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.giltab.runners.yml b/.github/workflows/epicmorg.base.images.giltab.runners.yml index 734b46169..5f5ca70a8 100644 --- a/.github/workflows/epicmorg.base.images.giltab.runners.yml +++ b/.github/workflows/epicmorg.base.images.giltab.runners.yml @@ -1,9 +1,6 @@ name: EpicMorg EcoSystem Gitlab Runner Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '4 5 * * 2,4,6' diff --git a/.github/workflows/epicmorg.base.images.perforce.yml b/.github/workflows/epicmorg.base.images.perforce.yml index 1f9f0d4ea..bbf2ce967 100644 --- a/.github/workflows/epicmorg.base.images.perforce.yml +++ b/.github/workflows/epicmorg.base.images.perforce.yml @@ -1,9 +1,6 @@ name: EpicMorg EcoSystem Perfocre Images on: -# push: -# branches: -# - 'master' workflow_dispatch: schedule: - cron: '4 4 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.postgresql.yml b/.github/workflows/epicmorg.base.images.postgresql.yml index 6dc241eb2..10d7bbe66 100644 --- a/.github/workflows/epicmorg.base.images.postgresql.yml +++ b/.github/workflows/epicmorg.base.images.postgresql.yml @@ -1,9 +1,7 @@ name: EpicMorg EcoSystem PostgreSQL Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '5 5 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.teamcity.agents.yml b/.github/workflows/epicmorg.base.images.teamcity.agents.yml index 1645bc4e3..b8a9942fb 100644 --- a/.github/workflows/epicmorg.base.images.teamcity.agents.yml +++ b/.github/workflows/epicmorg.base.images.teamcity.agents.yml @@ -1,9 +1,7 @@ name: EpicMorg EcoSystem TeamCity Agents Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '4 4 * * 2,4,6' diff --git a/.github/workflows/epicmorg.base.images.testrail.yml b/.github/workflows/epicmorg.base.images.testrail.yml index 4a2d1844b..ec44a96e9 100644 --- a/.github/workflows/epicmorg.base.images.testrail.yml +++ b/.github/workflows/epicmorg.base.images.testrail.yml @@ -1,9 +1,7 @@ name: EpicMorg EcoSystem Testrail Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '4 4 * * 1,3,5' diff --git a/.github/workflows/epicmorg.base.images.web.yml b/.github/workflows/epicmorg.base.images.web.yml index 947f89de0..9f06c3cb5 100644 --- a/.github/workflows/epicmorg.base.images.web.yml +++ b/.github/workflows/epicmorg.base.images.web.yml @@ -1,9 +1,7 @@ name: EpicMorg EcoSystem Web Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '2 2 * * 1,3,5' diff --git a/.github/workflows/epicmorg.ecosysctem.misc.images.yml b/.github/workflows/epicmorg.ecosysctem.misc.images.yml index 46f67396d..b1a68c1d9 100644 --- a/.github/workflows/epicmorg.ecosysctem.misc.images.yml +++ b/.github/workflows/epicmorg.ecosysctem.misc.images.yml @@ -1,9 +1,7 @@ name: EpicMorg EcoSystem Misc Images on: -# push: -# branches: -# - 'develop' + workflow_dispatch: schedule: - cron: '0 0 * * 2,4,6' @@ -163,6 +161,38 @@ jobs: - name: Build and Deploy qBittorrent 4.6.4 run: cd linux/ecosystem/qbittorrent/4.6.4 && make build && make deploy + - name: Build and Deploy qBittorrent 4.6.5 + run: cd linux/ecosystem/qbittorrent/4.6.5 && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: Build and Deploy qBittorrent 4.6.6 + run: cd linux/ecosystem/qbittorrent/4.6.6 && make build && make deploy + + - name: Build and Deploy qBittorrent 4.6.7 + run: cd linux/ecosystem/qbittorrent/4.6.7 && make build && make deploy + + - name: Build and Deploy qBittorrent 5.0.0 + run: cd linux/ecosystem/qbittorrent/5.0.0 && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: Build and Deploy qBittorrent 5.0.1 + run: cd linux/ecosystem/qbittorrent/5.0.1 && make build && make deploy + + - name: Build and Deploy qBittorrent 5.0.2 + run: cd linux/ecosystem/qbittorrent/5.0.2 && make build && make deploy + - name: Build and Deploy qBittorrent Testing run: cd linux/ecosystem/qbittorrent/testing && make build && make deploy diff --git a/.github/workflows/epicmorg.experimental.images.yml b/.github/workflows/epicmorg.experimental.images.yml index f78faa256..5f9de3faf 100644 --- a/.github/workflows/epicmorg.experimental.images.yml +++ b/.github/workflows/epicmorg.experimental.images.yml @@ -1,9 +1,7 @@ name: EpicMorg experimental Images on: -# push: -# branches: -# - 'master' + workflow_dispatch: schedule: - cron: '0 01 * * 2,4,6' diff --git a/CHANGELOG.md b/CHANGELOG.md index 00eec9b26..99f7a9136 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog ## 2024 +* `dec` + * migrated `qbittorrent` images to new baseline * `sep`, `oct`, `nov` * fixed some bugs in `Makefile` * fixed `Dockerfile` bugs diff --git a/Makefile b/Makefile index 0629ef203..36b041db2 100644 --- a/Makefile +++ b/Makefile @@ -1028,6 +1028,12 @@ ecosystem-qbittorrent-images: 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 cd `pwd`/linux/ecosystem/qbittorrent/4.6.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/4.6.5 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/4.6.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/4.6.7 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/5.0.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/5.0.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/qbittorrent/5.0.2 && pwd && make build && make deploy cd `pwd`/linux/ecosystem/qbittorrent/testing && pwd && make build && make deploy ecosystem-retracker-images: diff --git a/linux/ecosystem/qbittorrent/4.4.0/.env b/linux/ecosystem/qbittorrent/4.4.0/.env deleted file mode 100644 index 600b1728c..000000000 --- a/linux/ecosystem/qbittorrent/4.4.0/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.0 -LT1_RELEASE=1.2.15 -LT2_RELEASE=2.0.5 diff --git a/linux/ecosystem/qbittorrent/4.4.0/Dockerfile b/linux/ecosystem/qbittorrent/4.4.0/Dockerfile index b9eebf870..dbad49355 100644 --- a/linux/ecosystem/qbittorrent/4.4.0/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.0/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.0 +ENV QBT_LIBTORRENT_VERSION=2.0.5 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.0/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.0/Dockerfile.libtorrent1 new file mode 100644 index 000000000..fd14d39de --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.0/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.0 +ENV QBT_LIBTORRENT_VERSION=1.2.15 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml index bb0b32ddb..a68e36f2b 100644 --- a/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.0/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.0" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.0-libtorrent2.0.5" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.0-libtorrent1.2.15" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.4.1/.env b/linux/ecosystem/qbittorrent/4.4.1/.env deleted file mode 100644 index 3883e4ae9..000000000 --- a/linux/ecosystem/qbittorrent/4.4.1/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.1 -LT1_RELEASE=1.2.15 -LT2_RELEASE=2.0.5 diff --git a/linux/ecosystem/qbittorrent/4.4.1/Dockerfile b/linux/ecosystem/qbittorrent/4.4.1/Dockerfile index b9eebf870..33980cb25 100644 --- a/linux/ecosystem/qbittorrent/4.4.1/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.1/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.1 +ENV QBT_LIBTORRENT_VERSION=2.0.5 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.1/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.1/Dockerfile.libtorrent1 new file mode 100644 index 000000000..fa12aac44 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.1/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.1 +ENV QBT_LIBTORRENT_VERSION=1.2.15 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml index bb0b32ddb..5542f03e3 100644 --- a/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.1/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.1" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.1-libtorrent2.0.5" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.1-libtorrent1.2.15" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.4.2/.env b/linux/ecosystem/qbittorrent/4.4.2/.env deleted file mode 100644 index 8d7a732e7..000000000 --- a/linux/ecosystem/qbittorrent/4.4.2/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.2 -LT1_RELEASE=1.2.16 -LT2_RELEASE=2.0.6 diff --git a/linux/ecosystem/qbittorrent/4.4.2/Dockerfile b/linux/ecosystem/qbittorrent/4.4.2/Dockerfile index b9eebf870..e3c335e26 100644 --- a/linux/ecosystem/qbittorrent/4.4.2/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.2/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.2 +ENV QBT_LIBTORRENT_VERSION=2.0.6 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.2/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.2/Dockerfile.libtorrent1 new file mode 100644 index 000000000..ee57aee28 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.2/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.2 +ENV QBT_LIBTORRENT_VERSION=1.2.16 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml index bb0b32ddb..900d5808a 100644 --- a/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.2/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.2" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.2-libtorrent2.0.6" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.2-libtorrent1.2.16" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/.env b/linux/ecosystem/qbittorrent/4.4.3.1/.env deleted file mode 100644 index 5037204d0..000000000 --- a/linux/ecosystem/qbittorrent/4.4.3.1/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.3.1 -LT1_RELEASE=1.2.17 -LT2_RELEASE=2.0.7 diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile b/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile index b9eebf870..28644974e 100644 --- a/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.3.1 +ENV QBT_LIBTORRENT_VERSION=2.0.7 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile.libtorrent1 new file mode 100644 index 000000000..0f5c3a7f2 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.3.1/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.3.1 +ENV QBT_LIBTORRENT_VERSION=1.2.17 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml index bb0b32ddb..697a5bada 100644 --- a/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.3.1/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.3.1" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.3.1-libtorrent2.0.7" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.3.1-libtorrent1.2.17" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.4.4/.env b/linux/ecosystem/qbittorrent/4.4.4/.env deleted file mode 100644 index 259a42a9f..000000000 --- a/linux/ecosystem/qbittorrent/4.4.4/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.4 -LT1_RELEASE=1.2.17 -LT2_RELEASE=2.0.7 diff --git a/linux/ecosystem/qbittorrent/4.4.4/Dockerfile b/linux/ecosystem/qbittorrent/4.4.4/Dockerfile index b9eebf870..7298f58e8 100644 --- a/linux/ecosystem/qbittorrent/4.4.4/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.4/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.4 +ENV QBT_LIBTORRENT_VERSION=2.0.7 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.4/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.4/Dockerfile.libtorrent1 new file mode 100644 index 000000000..254ffe857 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.4/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.4 +ENV QBT_LIBTORRENT_VERSION=1.2.17 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml index bb0b32ddb..96c7d4db0 100644 --- a/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.4/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.4" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.4-libtorrent2.0.7" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.4-libtorrent1.2.17" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.4.5/.env b/linux/ecosystem/qbittorrent/4.4.5/.env deleted file mode 100644 index 76c0fda09..000000000 --- a/linux/ecosystem/qbittorrent/4.4.5/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.4.5 -LT1_RELEASE=1.2.18 -LT2_RELEASE=2.0.8 diff --git a/linux/ecosystem/qbittorrent/4.4.5/Dockerfile b/linux/ecosystem/qbittorrent/4.4.5/Dockerfile index b9eebf870..80bb118b5 100644 --- a/linux/ecosystem/qbittorrent/4.4.5/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.4.5/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.4.5 +ENV QBT_LIBTORRENT_VERSION=2.0.8 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.4.5/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.4.5/Dockerfile.libtorrent1 new file mode 100644 index 000000000..f6916ce35 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.4.5/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.4.5 +ENV QBT_LIBTORRENT_VERSION=1.2.18 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml index bb0b32ddb..4f778562b 100644 --- a/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.4.5/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.4.5" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.4.5-libtorrent2.0.8" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.4.5-libtorrent1.2.18" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.0/.env b/linux/ecosystem/qbittorrent/4.5.0/.env deleted file mode 100644 index 9b591163b..000000000 --- a/linux/ecosystem/qbittorrent/4.5.0/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.0 -LT1_RELEASE=1.2.18 -LT2_RELEASE=2.0.8 diff --git a/linux/ecosystem/qbittorrent/4.5.0/Dockerfile b/linux/ecosystem/qbittorrent/4.5.0/Dockerfile index b9eebf870..730158c34 100644 --- a/linux/ecosystem/qbittorrent/4.5.0/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.0/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.0 +ENV QBT_LIBTORRENT_VERSION=2.0.8 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.0/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.0/Dockerfile.libtorrent1 new file mode 100644 index 000000000..49dd02dda --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.0/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.0 +ENV QBT_LIBTORRENT_VERSION=1.2.18 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml index bb0b32ddb..16ff08459 100644 --- a/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.0/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.0" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.0-libtorrent2.0.8" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.0-libtorrent1.2.18" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.1/.env b/linux/ecosystem/qbittorrent/4.5.1/.env deleted file mode 100644 index 0d26ac087..000000000 --- a/linux/ecosystem/qbittorrent/4.5.1/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.1 -LT1_RELEASE=1.2.18 -LT2_RELEASE=2.0.8 diff --git a/linux/ecosystem/qbittorrent/4.5.1/Dockerfile b/linux/ecosystem/qbittorrent/4.5.1/Dockerfile index b9eebf870..8afb1c013 100644 --- a/linux/ecosystem/qbittorrent/4.5.1/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.1/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.1 +ENV QBT_LIBTORRENT_VERSION=2.0.8 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.1/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.1/Dockerfile.libtorrent1 new file mode 100644 index 000000000..41c03ac6b --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.1/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.1 +ENV QBT_LIBTORRENT_VERSION=1.2.18 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml index bb0b32ddb..7a1128b6e 100644 --- a/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.1/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.1" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.1-libtorrent2.0.8" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.1-libtorrent1.2.18" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.2/.env b/linux/ecosystem/qbittorrent/4.5.2/.env deleted file mode 100644 index 39dc731e6..000000000 --- a/linux/ecosystem/qbittorrent/4.5.2/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.2 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.5.2/Dockerfile b/linux/ecosystem/qbittorrent/4.5.2/Dockerfile index b9eebf870..e62ffabab 100644 --- a/linux/ecosystem/qbittorrent/4.5.2/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.2/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.2 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.2/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.2/Dockerfile.libtorrent1 new file mode 100644 index 000000000..b55cd72ae --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.2/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.2 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml index bb0b32ddb..b327b80e8 100644 --- a/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.2/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.2" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.2-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.2-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.3/.env b/linux/ecosystem/qbittorrent/4.5.3/.env deleted file mode 100644 index 1c922766c..000000000 --- a/linux/ecosystem/qbittorrent/4.5.3/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.3 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.5.3/Dockerfile b/linux/ecosystem/qbittorrent/4.5.3/Dockerfile index b9eebf870..521a4e01a 100644 --- a/linux/ecosystem/qbittorrent/4.5.3/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.3/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.3 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.3/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.3/Dockerfile.libtorrent1 new file mode 100644 index 000000000..d896cca06 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.3/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.3 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml index bb0b32ddb..5593ff158 100644 --- a/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.3/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.3" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.3-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.3-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.4/.env b/linux/ecosystem/qbittorrent/4.5.4/.env deleted file mode 100644 index b3b82f54c..000000000 --- a/linux/ecosystem/qbittorrent/4.5.4/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.4 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.5.4/Dockerfile b/linux/ecosystem/qbittorrent/4.5.4/Dockerfile index b9eebf870..073ff5f86 100644 --- a/linux/ecosystem/qbittorrent/4.5.4/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.4/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.4 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.4/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.4/Dockerfile.libtorrent1 new file mode 100644 index 000000000..002738fea --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.4/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.4 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml index bb0b32ddb..1ab98282d 100644 --- a/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.4/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.4" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.4-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.4-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.5.5/.env b/linux/ecosystem/qbittorrent/4.5.5/.env deleted file mode 100644 index ccddcde94..000000000 --- a/linux/ecosystem/qbittorrent/4.5.5/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.5.5 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.5.5/Dockerfile b/linux/ecosystem/qbittorrent/4.5.5/Dockerfile index b9eebf870..7f29f65b2 100644 --- a/linux/ecosystem/qbittorrent/4.5.5/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.5.5/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.5.5 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.5.5/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.5.5/Dockerfile.libtorrent1 new file mode 100644 index 000000000..bd80f03ce --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.5.5/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.5.5 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml index bb0b32ddb..a1c872b6b 100644 --- a/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.5.5/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.5.5" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.5.5-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.5.5-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.0/.env b/linux/ecosystem/qbittorrent/4.6.0/.env deleted file mode 100644 index 934450baa..000000000 --- a/linux/ecosystem/qbittorrent/4.6.0/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.6.0 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.6.0/Dockerfile b/linux/ecosystem/qbittorrent/4.6.0/Dockerfile index b9eebf870..59ff86339 100644 --- a/linux/ecosystem/qbittorrent/4.6.0/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.6.0/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.6.0 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.6.0/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.0/Dockerfile.libtorrent1 new file mode 100644 index 000000000..cc1809822 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.0/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.0 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml index bb0b32ddb..19ae9115e 100644 --- a/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.0/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.6.0" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.6.0-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.6.0-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.1/.env b/linux/ecosystem/qbittorrent/4.6.1/.env deleted file mode 100644 index 67d2d14b2..000000000 --- a/linux/ecosystem/qbittorrent/4.6.1/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.6.1 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.6.1/Dockerfile b/linux/ecosystem/qbittorrent/4.6.1/Dockerfile index b9eebf870..53e52a57c 100644 --- a/linux/ecosystem/qbittorrent/4.6.1/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.6.1/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.6.1 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.6.1/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.1/Dockerfile.libtorrent1 new file mode 100644 index 000000000..732817ac0 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.1/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.1 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml index bb0b32ddb..87dfbc91b 100644 --- a/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.1/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.6.1" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.6.1-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.6.1-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.2/.env b/linux/ecosystem/qbittorrent/4.6.2/.env deleted file mode 100644 index 4e076ccdc..000000000 --- a/linux/ecosystem/qbittorrent/4.6.2/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.6.2 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.6.2/Dockerfile b/linux/ecosystem/qbittorrent/4.6.2/Dockerfile index b9eebf870..dd3f35cf1 100644 --- a/linux/ecosystem/qbittorrent/4.6.2/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.6.2/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.6.2 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.6.2/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.2/Dockerfile.libtorrent1 new file mode 100644 index 000000000..6fd589dbb --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.2/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.2 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml index bb0b32ddb..4c1c85084 100644 --- a/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.2/docker-compose.yml @@ -1,24 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.6.2" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.6.2-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.6.2-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} - + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.3/.env b/linux/ecosystem/qbittorrent/4.6.3/.env deleted file mode 100644 index fa3c21d80..000000000 --- a/linux/ecosystem/qbittorrent/4.6.3/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.6.3 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.9 diff --git a/linux/ecosystem/qbittorrent/4.6.3/Dockerfile b/linux/ecosystem/qbittorrent/4.6.3/Dockerfile index b9eebf870..5716c3f41 100644 --- a/linux/ecosystem/qbittorrent/4.6.3/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.6.3/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.6.3 +ENV QBT_LIBTORRENT_VERSION=2.0.9 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.6.3/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.3/Dockerfile.libtorrent1 new file mode 100644 index 000000000..f775b8b2a --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.3/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.3 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml index 197c09115..d2fd3bc18 100644 --- a/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.3/docker-compose.yml @@ -1,23 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.6.3" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.6.3-libtorrent2.0.9" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.6.3-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.4/.env b/linux/ecosystem/qbittorrent/4.6.4/.env deleted file mode 100644 index 44507b0f8..000000000 --- a/linux/ecosystem/qbittorrent/4.6.4/.env +++ /dev/null @@ -1,3 +0,0 @@ -QBT_RELEASE=4.6.4 -LT1_RELEASE=1.2.19 -LT2_RELEASE=2.0.10 diff --git a/linux/ecosystem/qbittorrent/4.6.4/Dockerfile b/linux/ecosystem/qbittorrent/4.6.4/Dockerfile index b9eebf870..50a7990a8 100644 --- a/linux/ecosystem/qbittorrent/4.6.4/Dockerfile +++ b/linux/ecosystem/qbittorrent/4.6.4/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=4.6.4 +ENV QBT_LIBTORRENT_VERSION=2.0.10 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 @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/4.6.4/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.4/Dockerfile.libtorrent1 new file mode 100644 index 000000000..911f0c665 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.4/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.4 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml index 197c09115..6de21c9ae 100644 --- a/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/4.6.4/docker-compose.yml @@ -1,23 +1,15 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:4.6.4" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:4.6.4-libtorrent2.0.10" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent1: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT1_RELEASE}" + image: "epicmorg/qbittorrent:4.6.4-libtorrent1.2.19" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT1_RELEASE} + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.5/Dockerfile b/linux/ecosystem/qbittorrent/4.6.5/Dockerfile new file mode 100644 index 000000000..5ef6ca27e --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.5 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.5/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.5/Dockerfile.libtorrent1 new file mode 100644 index 000000000..efe8a2bcb --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.5 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.5/Makefile b/linux/ecosystem/qbittorrent/4.6.5/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/4.6.5/README.md b/linux/ecosystem/qbittorrent/4.6.5/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml new file mode 100644 index 000000000..194bc4541 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:4.6.5" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:4.6.5-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:4.6.5-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.5/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/4.6.5/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.5/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/4.6.5/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/4.6.5/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/4.6.5/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/4.6.6/Dockerfile b/linux/ecosystem/qbittorrent/4.6.6/Dockerfile new file mode 100644 index 000000000..b28bad714 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.6 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.6/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.6/Dockerfile.libtorrent1 new file mode 100644 index 000000000..24cc28ad2 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.6 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.6/Makefile b/linux/ecosystem/qbittorrent/4.6.6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/4.6.6/README.md b/linux/ecosystem/qbittorrent/4.6.6/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml new file mode 100644 index 000000000..e4bf84ef0 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:4.6.6" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:4.6.6-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:4.6.6-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.6/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/4.6.6/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.6/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/4.6.6/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/4.6.6/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/4.6.6/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/4.6.7/Dockerfile b/linux/ecosystem/qbittorrent/4.6.7/Dockerfile new file mode 100644 index 000000000..836a3747d --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.7 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.7/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/4.6.7/Dockerfile.libtorrent1 new file mode 100644 index 000000000..7a0ae38ca --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=4.6.7 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/4.6.7/Makefile b/linux/ecosystem/qbittorrent/4.6.7/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/4.6.7/README.md b/linux/ecosystem/qbittorrent/4.6.7/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml new file mode 100644 index 000000000..38e556fae --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:4.6.7" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:4.6.7-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:4.6.7-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/4.6.7/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/4.6.7/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/4.6.7/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/4.6.7/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/4.6.7/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/4.6.7/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/5.0.0/Dockerfile b/linux/ecosystem/qbittorrent/5.0.0/Dockerfile new file mode 100644 index 000000000..c64f1743c --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.0 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.0/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/5.0.0/Dockerfile.libtorrent1 new file mode 100644 index 000000000..9e552d191 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.0 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.0/Makefile b/linux/ecosystem/qbittorrent/5.0.0/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/5.0.0/README.md b/linux/ecosystem/qbittorrent/5.0.0/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml new file mode 100644 index 000000000..c60298627 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:5.0.0" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:5.0.0-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:5.0.0-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/5.0.0/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/5.0.0/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.0/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/5.0.0/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/5.0.0/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/5.0.0/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/5.0.1/Dockerfile b/linux/ecosystem/qbittorrent/5.0.1/Dockerfile new file mode 100644 index 000000000..5fb6a60b3 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.1 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.1/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/5.0.1/Dockerfile.libtorrent1 new file mode 100644 index 000000000..c17fb7889 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.1 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.1/Makefile b/linux/ecosystem/qbittorrent/5.0.1/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/5.0.1/README.md b/linux/ecosystem/qbittorrent/5.0.1/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml new file mode 100644 index 000000000..ee3aff00d --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:5.0.1" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:5.0.1-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:5.0.1-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/5.0.1/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/5.0.1/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.1/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/5.0.1/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/5.0.1/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/5.0.1/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/5.0.2/Dockerfile b/linux/ecosystem/qbittorrent/5.0.2/Dockerfile new file mode 100644 index 000000000..40214e7b9 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/Dockerfile @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.2 +ENV QBT_LIBTORRENT_VERSION=2.0.10 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.2/Dockerfile.libtorrent1 b/linux/ecosystem/qbittorrent/5.0.2/Dockerfile.libtorrent1 new file mode 100644 index 000000000..4e19bddaa --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/Dockerfile.libtorrent1 @@ -0,0 +1,59 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV QBT_VERSION=5.0.2 +ENV QBT_LIBTORRENT_VERSION=1.2.19 +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 echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb + +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 + +RUN updatedb + +#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"] diff --git a/linux/ecosystem/qbittorrent/5.0.2/Makefile b/linux/ecosystem/qbittorrent/5.0.2/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/qbittorrent/5.0.2/README.md b/linux/ecosystem/qbittorrent/5.0.2/README.md new file mode 100644 index 000000000..2e7cd4855 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/README.md @@ -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; + + } +} + +``` diff --git a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml new file mode 100644 index 000000000..029d17770 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.example.yml @@ -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 + diff --git a/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml new file mode 100644 index 000000000..84c6b2145 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/docker-compose.yml @@ -0,0 +1,15 @@ +#version: '3' +services: + qbt: + image: "epicmorg/qbittorrent:5.0.2" + build: + context: . + qbt-libtorrent2: + image: "epicmorg/qbittorrent:5.0.2-libtorrent2.0.10" + build: + context: . + qbt-libtorrent1: + image: "epicmorg/qbittorrent:5.0.2-libtorrent1.2.19" + build: + context: . + dockerfile: ./Dockerfile.libtorrent1 diff --git a/linux/ecosystem/qbittorrent/5.0.2/docker-entrypoint.sh b/linux/ecosystem/qbittorrent/5.0.2/docker-entrypoint.sh new file mode 100755 index 000000000..d916b0e86 --- /dev/null +++ b/linux/ecosystem/qbittorrent/5.0.2/docker-entrypoint.sh @@ -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} diff --git a/linux/ecosystem/qbittorrent/5.0.2/qbittorrent-icon.png b/linux/ecosystem/qbittorrent/5.0.2/qbittorrent-icon.png new file mode 100644 index 000000000..77d06fd31 Binary files /dev/null and b/linux/ecosystem/qbittorrent/5.0.2/qbittorrent-icon.png differ diff --git a/linux/ecosystem/qbittorrent/testing/.env b/linux/ecosystem/qbittorrent/testing/.env deleted file mode 100644 index f55913d76..000000000 --- a/linux/ecosystem/qbittorrent/testing/.env +++ /dev/null @@ -1,2 +0,0 @@ -QBT_RELEASE=5.0.0beta1 -LT2_RELEASE=RC_2_0 diff --git a/linux/ecosystem/qbittorrent/testing/Dockerfile b/linux/ecosystem/qbittorrent/testing/Dockerfile index ac020d15b..8b05eaec1 100644 --- a/linux/ecosystem/qbittorrent/testing/Dockerfile +++ b/linux/ecosystem/qbittorrent/testing/Dockerfile @@ -5,11 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # ARGuments ################################################################## - -ARG QBT_RELEASE -ARG LT_RELEASE -ENV QBT_VERSION=${QBT_RELEASE} -ENV QBT_LIBTORRENT_VERSION=${LT_RELEASE} +ENV QBT_VERSION=5.0.0beta1 +ENV QBT_LIBTORRENT_VERSION=RC_2_0 ENV QBT_URL=https://github.com/userdocs/qbittorrent-nox-static-test/releases/download/release-${QBT_VERSION}_${QBT_LIBTORRENT_VERSION}/x86_64-qbittorrent-nox ENV QBT_DIR=/opt/qbittorrent @@ -37,12 +34,12 @@ RUN wget --no-check-certificate -nv --random-wait --retry-connrefused --continue ################################################################## # 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/* +RUN echo "clean up" && \ + apt-get clean -y && \ + apt-get autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /tmp/* && \ + rm -rfv /var/cache/apt/archives/*.deb VOLUME ${QBT_DIR} diff --git a/linux/ecosystem/qbittorrent/testing/Makefile b/linux/ecosystem/qbittorrent/testing/Makefile index 5439ae243..06e855b50 100644 --- a/linux/ecosystem/qbittorrent/testing/Makefile +++ b/linux/ecosystem/qbittorrent/testing/Makefile @@ -8,8 +8,19 @@ app: make clean build: - make qbt-libtorrent2 - make qbt + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain deploy: kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug @@ -23,12 +34,3 @@ clean: 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 - diff --git a/linux/ecosystem/qbittorrent/testing/docker-compose.yml b/linux/ecosystem/qbittorrent/testing/docker-compose.yml index 0ca1f9d12..aa33a5dc7 100644 --- a/linux/ecosystem/qbittorrent/testing/docker-compose.yml +++ b/linux/ecosystem/qbittorrent/testing/docker-compose.yml @@ -1,16 +1,10 @@ #version: '3' services: qbt: - image: "epicmorg/qbittorrent:${QBT_RELEASE}" + image: "epicmorg/qbittorrent:5.0.0beta1" build: context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} qbt-libtorrent2: - image: "epicmorg/qbittorrent:${QBT_RELEASE}-libtorrent${LT2_RELEASE}" + image: "epicmorg/qbittorrent:5.0.0beta1-libtorrentRC_2_0" build: - context: . - args: - QBT_RELEASE: ${QBT_RELEASE} - LT_RELEASE: ${LT2_RELEASE} + context: . \ No newline at end of file