Compare commits
267
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6521e5711d | ||
|
|
a5ab71af4c | ||
|
|
06b45fbbae | ||
|
|
8b08af4b3a | ||
|
|
a5a43cb556 | ||
|
|
c42810ad56 | ||
|
|
649151c09b | ||
|
|
363ad5566e | ||
|
|
3134f90263 | ||
|
|
b084003137 | ||
|
|
9356ee60a3 | ||
|
|
b18166cbd4 | ||
|
|
a9dff2a2cf | ||
|
|
ee3c3adf32 | ||
|
|
1e56f48d72 | ||
|
|
69d301d8d8 | ||
|
|
e8d5a6ab3b | ||
|
|
2cc5f73441 | ||
|
|
a71291ae6c | ||
|
|
a19d00493a | ||
|
|
09a0d624bc | ||
|
|
f3b721cb05 | ||
|
|
28dd138289 | ||
|
|
013a5beaf6 | ||
|
|
5017d3936f | ||
|
|
b49f12e7ee | ||
|
|
e1688e6733 | ||
|
|
8fad5b7460 | ||
|
|
94659f5de2 | ||
|
|
2195863fb2 | ||
|
|
1116f24c35 | ||
|
|
b4fbabe3bd | ||
|
|
07622b2a5d | ||
|
|
ff9c6d2e92 | ||
|
|
33ccfecbf9 | ||
|
|
004b78b8d8 | ||
|
|
66c8787d79 | ||
|
|
154e7cda78 | ||
|
|
4d1eba0723 | ||
|
|
a48b43b578 | ||
|
|
85b1dc3d3d | ||
|
|
0f78708a6f | ||
|
|
d400424df0 | ||
|
|
274701c310 | ||
|
|
61966916ea | ||
|
|
63edd84f6f | ||
|
|
6ddc719a33 | ||
|
|
7f5088f51e | ||
|
|
8ce4106591 | ||
|
|
d74fc48766 | ||
|
|
959c03a858 | ||
|
|
453c7f902a | ||
|
|
3267bf4f8b | ||
|
|
a6a6dfb97f | ||
|
|
7a66ad85ec | ||
|
|
9f4cfbff85 | ||
|
|
9706cc4d03 | ||
|
|
e9a7a35c9e | ||
|
|
0149614350 | ||
|
|
e0f84cdd07 | ||
|
|
c5abfc077b | ||
|
|
8e7f021a47 | ||
|
|
000e029b03 | ||
|
|
883c3f81ae | ||
|
|
792efab81a | ||
|
|
fa9d1c8ea2 | ||
|
|
bdebe8d7a4 | ||
|
|
a7bcc9a335 | ||
|
|
fdc2b45e8a | ||
|
|
f25fb3b87a | ||
|
|
bd8ea85c91 | ||
|
|
1a93c96a2c | ||
|
|
20cccd1fd9 | ||
|
|
b64d9d5fd0 | ||
|
|
9f4b739207 | ||
|
|
bfd574eaaa | ||
|
|
62996786b7 | ||
|
|
801b26b6be | ||
|
|
66dbf2e291 | ||
|
|
859a961aef | ||
|
|
feae8c9c2c | ||
|
|
eaffe4b67e | ||
|
|
c679e937a4 | ||
|
|
2b824353ab | ||
|
|
bf95f6fad1 | ||
|
|
2928a9bc45 | ||
|
|
cb64ea1ecb | ||
|
|
b6a173206b | ||
|
|
d18b68f2cd | ||
|
|
85291464da | ||
|
|
8b22913b36 | ||
|
|
30157c96e4 | ||
|
|
dbd196dc18 | ||
|
|
f9a45f37bd | ||
|
|
752d12f885 | ||
|
|
9d89905c76 | ||
|
|
afa6db5a34 | ||
|
|
78234f8be4 | ||
|
|
ae8ba32b25 | ||
|
|
cb6a14fb85 | ||
|
|
4a8302c476 | ||
|
|
59fbbfb00f | ||
|
|
ae45e51456 | ||
|
|
488c3d753b | ||
|
|
15d605e28e | ||
|
|
aa03f548a5 | ||
|
|
db1470ece5 | ||
|
|
a9e1eb7d11 | ||
|
|
960567783d | ||
|
|
912f641450 | ||
|
|
d303b1317d | ||
|
|
ae293c8880 | ||
|
|
9cb3faadc0 | ||
|
|
2cfd46dce1 | ||
|
|
8a8449cda9 | ||
|
|
e0bef831ec | ||
|
|
3cbf033cf1 | ||
|
|
3bf2b651d6 | ||
|
|
5a98a3bcbd | ||
|
|
c9e8989885 | ||
|
|
66f045a0c5 | ||
|
|
a90bd77819 | ||
|
|
cb00838aea | ||
|
|
f586c1dee2 | ||
|
|
b1c06b0294 | ||
|
|
ce10c95f67 | ||
|
|
f835e0b7f8 | ||
|
|
478ee950c0 | ||
|
|
237b285c89 | ||
|
|
5d59540d6c | ||
|
|
85cf6f780f | ||
|
|
ddc0e9ce0e | ||
|
|
92365cf2de | ||
|
|
aece1a8937 | ||
|
|
88bb318d56 | ||
|
|
f320f05cd6 | ||
|
|
a24bb0d8b9 | ||
|
|
400f4c26f1 | ||
|
|
cd2552ce2a | ||
|
|
da5b2c50fd | ||
|
|
103ffb7d12 | ||
|
|
aa15c8682b | ||
|
|
f2f8e6f9b1 | ||
|
|
cd08ffb2b5 | ||
|
|
e96ef6d848 | ||
|
|
72ba61fc54 | ||
|
|
9910f5f282 | ||
|
|
a530f53059 | ||
|
|
7e9080c059 | ||
|
|
4d2142ccdc | ||
|
|
d98cc96b44 | ||
|
|
520d0fce6a | ||
|
|
c7ca960685 | ||
|
|
678022a72e | ||
|
|
3f6d309d80 | ||
|
|
43c1c77dfd | ||
|
|
534b9a7a88 | ||
|
|
17aec3dbf1 | ||
|
|
a71046d34c | ||
|
|
3b09082ce2 | ||
|
|
aefefc88aa | ||
|
|
8bc3c18128 | ||
|
|
718fdfd0ec | ||
|
|
d792d2d323 | ||
|
|
368b3df136 | ||
|
|
bc9b601144 | ||
|
|
d680a9d0e2 | ||
|
|
25b0fd8606 | ||
|
|
4b87c04fac | ||
|
|
6eafd96f2f | ||
|
|
b21bdec711 | ||
|
|
b5736bb12a | ||
|
|
b3601ffc01 | ||
|
|
02dc6a16fa | ||
|
|
f4dbddeb4b | ||
|
|
e47e79801b | ||
|
|
46d7e3a221 | ||
|
|
34fb5897af | ||
|
|
1cd8c66131 | ||
|
|
262fad1c50 | ||
|
|
e9bbad1193 | ||
|
|
404ab4b551 | ||
|
|
99f2f154d5 | ||
|
|
92546ff830 | ||
|
|
e50d6cae43 | ||
|
|
ceb192e9e4 | ||
|
|
6bc404ce26 | ||
|
|
e512705769 | ||
|
|
719c7f7363 | ||
|
|
3fd2c6f545 | ||
|
|
68a50f9a6b | ||
|
|
ebea843010 | ||
|
|
87ca0c66d5 | ||
|
|
1d53de44f0 | ||
|
|
b803ecca4d | ||
|
|
763a1bbebf | ||
|
|
9b1fef364b | ||
|
|
dcedab9ee6 | ||
|
|
5fa2e3c7c2 | ||
|
|
7b9330fa99 | ||
|
|
973ce9335e | ||
|
|
b4f7614677 | ||
|
|
5eaa88e5d6 | ||
|
|
bd6136e12f | ||
|
|
32953e5ed2 | ||
|
|
273077ddd7 | ||
|
|
63f815bf25 | ||
|
|
8333572eae | ||
|
|
66baf5fd4e | ||
|
|
faf6fcd9b3 | ||
|
|
ccdbc0d1fc | ||
|
|
8b4c553f3d | ||
|
|
be04065f0e | ||
|
|
fdb433e87f | ||
|
|
215efd2683 | ||
|
|
fe43937cdf | ||
|
|
a50098880d | ||
|
|
58ff104718 | ||
|
|
21a878c5bd | ||
|
|
85bf67cb5f | ||
|
|
c7fae073c6 | ||
|
|
758ccc1e9a | ||
|
|
6c170cc8bf | ||
|
|
c344c0e7bb | ||
|
|
03bb57a915 | ||
|
|
368e3c2828 | ||
|
|
4ce6db323d | ||
|
|
72aee7d2df | ||
|
|
2a8b9fb145 | ||
|
|
4ed02aba6d | ||
|
|
1d213f19e8 | ||
|
|
f12a86f620 | ||
|
|
56f374f59a | ||
|
|
bd63218ebe | ||
|
|
6265517e19 | ||
|
|
7f13e9c443 | ||
|
|
d926aee5e3 | ||
|
|
5ac25f7d08 | ||
|
|
3286b4d1fc | ||
|
|
f92bbc6011 | ||
|
|
7aeb6a3e34 | ||
|
|
421e722315 | ||
|
|
3c1cdfbb66 | ||
|
|
98893cebc9 | ||
|
|
f4b889dc7c | ||
|
|
b612cd22f0 | ||
|
|
053b1ba5a8 | ||
|
|
ef3efdc5bc | ||
|
|
55a4c014f3 | ||
|
|
6add88a07a | ||
|
|
d79b2c963a | ||
|
|
6de658a24b | ||
|
|
c514b9c7ff | ||
|
|
6e73b38915 | ||
|
|
8fb719df38 | ||
|
|
f7951c52ef | ||
|
|
27f878f932 | ||
|
|
87041b87f8 | ||
|
|
1281cb7048 | ||
|
|
d59e06317d | ||
|
|
5df31b5700 | ||
|
|
fcb52a9093 | ||
|
|
501d213242 | ||
|
|
d659263231 | ||
|
|
b34e11688a | ||
|
|
dbf0b36f49 | ||
|
|
476d98f2e3 |
+1
-1
@@ -15,6 +15,6 @@ trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{**.sh,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
## Readme
|
||||
|
||||
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-nzbhydra2/edit/dev/readme-vars.yml).
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-nzbhydra2/edit/master/readme-vars.yml).
|
||||
|
||||
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
|
||||
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-nzbhydra2)
|
||||
@@ -115,7 +115,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Update the changelog
|
||||
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-nzbhydra2/tree/dev/root), add an entry to the changelog
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-nzbhydra2/tree/master/root), add an entry to the changelog
|
||||
|
||||
```yml
|
||||
changelogs:
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
||||
|
||||
<!--- Provide a general summary of the bug in the Title above -->
|
||||
|
||||
------------------------------
|
||||
|
||||
## Expected Behavior
|
||||
<!--- Tell us what should happen -->
|
||||
|
||||
## Current Behavior
|
||||
<!--- Tell us what happens instead of the expected behavior -->
|
||||
|
||||
## Steps to Reproduce
|
||||
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
||||
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
4.
|
||||
|
||||
## Environment
|
||||
**OS:**
|
||||
**CPU architecture:** x86_64/arm32/arm64
|
||||
**How docker service was installed:**
|
||||
<!--- ie. from the official docker repo, from the distro repo, nas OS provided, etc. -->
|
||||
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
||||
|
||||
## Command used to create docker container (run/create/compose/screenshot)
|
||||
<!--- Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container -->
|
||||
|
||||
## Docker logs
|
||||
<!--- Provide a full docker log, output of "docker logs nzbhydra2" -->
|
||||
Executable
+76
@@ -0,0 +1,76 @@
|
||||
# Based on the issue template
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: [Bug]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is there an existing issue for this?
|
||||
description: Please search to see if an issue already exists for the bug you encountered.
|
||||
options:
|
||||
- label: I have searched the existing issues
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Current Behavior
|
||||
description: Tell us what happens instead of the expected behavior.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected Behavior
|
||||
description: Tell us what should happen.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps To Reproduce
|
||||
description: Steps to reproduce the behavior.
|
||||
placeholder: |
|
||||
1. In this environment...
|
||||
2. With this config...
|
||||
3. Run '...'
|
||||
4. See error...
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Environment
|
||||
description: |
|
||||
examples:
|
||||
- **OS**: Ubuntu 20.04
|
||||
- **How docker service was installed**: distro's packagemanager
|
||||
value: |
|
||||
- OS:
|
||||
- How docker service was installed:
|
||||
render: markdown
|
||||
validations:
|
||||
required: false
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: CPU architecture
|
||||
options:
|
||||
- x86-64
|
||||
- arm64
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Docker creation
|
||||
description: |
|
||||
Command used to create docker container
|
||||
Provide your docker create/run command or compose yaml snippet, or a screenshot of settings if using a gui to create the container
|
||||
render: bash
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
description: |
|
||||
Provide a full docker log, output of "docker logs nzbhydra2"
|
||||
label: Container logs
|
||||
placeholder: |
|
||||
Output of `docker logs nzbhydra2`
|
||||
render: bash
|
||||
validations:
|
||||
required: true
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
|
||||
|
||||
<!--- If this acts as a feature request please ask yourself if this modification is something the whole userbase will benefit from --->
|
||||
<!--- If this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
|
||||
|
||||
<!--- Provide a general summary of the request in the Title above -->
|
||||
|
||||
------------------------------
|
||||
|
||||
## Desired Behavior
|
||||
<!--- Tell us what should happen -->
|
||||
|
||||
## Current Behavior
|
||||
<!--- Tell us what happens instead of the expected behavior -->
|
||||
|
||||
## Alternatives Considered
|
||||
<!--- Tell us what other options you have tried or considered -->
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
# Based on the issue template
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FEAT] <title>"
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is this a new feature request?
|
||||
description: Please search to see if a feature request already exists.
|
||||
options:
|
||||
- label: I have searched the existing issues
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Wanted change
|
||||
description: Tell us what you want to happen.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Reason for change
|
||||
description: Justify your request, why do you want it, what is the benefit.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Proposed code change
|
||||
description: Do you have a potential code change in mind?
|
||||
validations:
|
||||
required: false
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
------------------------------
|
||||
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-nzbhydra2/blob/dev/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-nzbhydra2/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
|
||||
------------------------------
|
||||
|
||||
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
name: Issue & PR Tracker
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened,reopened,labeled,unlabeled,closed]
|
||||
pull_request_target:
|
||||
types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled,closed]
|
||||
pull_request_review:
|
||||
types: [submitted,edited,dismissed]
|
||||
|
||||
jobs:
|
||||
manage-project:
|
||||
permissions:
|
||||
issues: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1
|
||||
secrets: inherit
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
name: Mark stale issues and pull requests
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 8 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
|
||||
secrets: inherit
|
||||
@@ -4,24 +4,26 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
external-trigger-dev:
|
||||
external-trigger-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: External Trigger
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
if [ -n "${{ secrets.PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_DEV }}" ]; then
|
||||
echo "**** Github secret PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_DEV is set; skipping trigger. ****"
|
||||
if [ -n "${{ secrets.PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_MASTER }}" ]; then
|
||||
echo "**** Github secret PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_MASTER is set; skipping trigger. ****"
|
||||
echo "Github secret \`PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_MASTER\` is set; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
echo "**** External trigger running off of dev branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_DEV\". ****"
|
||||
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_MASTER\". ****"
|
||||
echo "External trigger running off of master branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_NZBHYDRA2_MASTER\`" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**** Retrieving external version ****"
|
||||
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases" | jq -r '.[0] | .tag_name')
|
||||
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases/latest" | jq -r '. | .tag_name')
|
||||
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
|
||||
echo "**** Can't retrieve external version, exiting ****"
|
||||
FAILURE_REASON="Can't retrieve external version for nzbhydra2 branch dev"
|
||||
FAILURE_REASON="Can't retrieve external version for nzbhydra2 branch master"
|
||||
GHA_TRIGGER_URL="https://github.com/linuxserver/docker-nzbhydra2/actions/runs/${{ github.run_id }}"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n**Trigger URL:** '"${GHA_TRIGGER_URL}"' \n"}],
|
||||
@@ -30,9 +32,10 @@ jobs:
|
||||
fi
|
||||
EXT_RELEASE=$(echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g')
|
||||
echo "**** External version: ${EXT_RELEASE} ****"
|
||||
echo "External version: ${EXT_RELEASE}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**** Retrieving last pushed version ****"
|
||||
image="linuxserver/nzbhydra2"
|
||||
tag="dev"
|
||||
tag="latest"
|
||||
token=$(curl -sX GET \
|
||||
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fnzbhydra2%3Apull" \
|
||||
| jq -r '.token')
|
||||
@@ -48,29 +51,37 @@ jobs:
|
||||
| jq -r '.config.digest')
|
||||
image_info=$(curl -sL \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/blobs/${digest}" \
|
||||
| jq -r '.container_config')
|
||||
"https://ghcr.io/v2/${image}/blobs/${digest}")
|
||||
if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
|
||||
image_info=$(echo $image_info | jq -r '.config')
|
||||
else
|
||||
image_info=$(echo $image_info | jq -r '.container_config')
|
||||
fi
|
||||
IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
|
||||
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
|
||||
if [ -z "${IMAGE_VERSION}" ]; then
|
||||
echo "**** Can't retrieve last pushed version, exiting ****"
|
||||
FAILURE_REASON="Can't retrieve last pushed version for nzbhydra2 tag dev"
|
||||
FAILURE_REASON="Can't retrieve last pushed version for nzbhydra2 tag latest"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
exit 1
|
||||
fi
|
||||
echo "**** Last pushed version: ${IMAGE_VERSION} ****"
|
||||
echo "Last pushed version: ${IMAGE_VERSION}" >> $GITHUB_STEP_SUMMARY
|
||||
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
|
||||
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
|
||||
echo "Version ${EXT_RELEASE} already pushed, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/dev/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
echo "**** New version ${EXT_RELEASE} found; but there already seems to be an active build on Jenkins; exiting ****"
|
||||
echo "New version ${EXT_RELEASE} found; but there already seems to be an active build on Jenkins; exiting" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
else
|
||||
echo "**** New version ${EXT_RELEASE} found; old version was ${IMAGE_VERSION}. Triggering new build ****"
|
||||
echo "New version ${EXT_RELEASE} found; old version was ${IMAGE_VERSION}. Triggering new build" >> $GITHUB_STEP_SUMMARY
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/dev/buildWithParameters?PACKAGE_CHECK=false \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/master/buildWithParameters?PACKAGE_CHECK=false \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
echo "**** Jenkins job queue url: ${response%$'\r'} ****"
|
||||
echo "**** Sleeping 10 seconds until job starts ****"
|
||||
@@ -78,6 +89,7 @@ jobs:
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "**** Jenkins job build url: ${buildurl} ****"
|
||||
echo "Jenkins job build url: ${buildurl}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**** Attempting to change the Jenkins job description ****"
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
@@ -85,7 +97,7 @@ jobs:
|
||||
--data-urlencode "description=GHA external trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"
|
||||
echo "**** Notifying Discord ****"
|
||||
TRIGGER_REASON="A version change was detected for nzbhydra2 tag dev. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
|
||||
TRIGGER_REASON="A version change was detected for nzbhydra2 tag latest. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
@@ -2,14 +2,14 @@ name: External Trigger Scheduler
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '03 * * * *'
|
||||
- cron: '37 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
external-trigger-scheduler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
@@ -17,18 +17,18 @@ jobs:
|
||||
run: |
|
||||
echo "**** Branches found: ****"
|
||||
git for-each-ref --format='%(refname:short)' refs/remotes
|
||||
echo "**** Pulling the yq docker image ****"
|
||||
docker pull ghcr.io/linuxserver/yq
|
||||
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
|
||||
do
|
||||
br=$(echo "$br" | sed 's|origin/||g')
|
||||
echo "**** Evaluating branch ${br} ****"
|
||||
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/jenkins-vars.yml \
|
||||
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
|
||||
if [ "$br" == "$ls_branch" ]; then
|
||||
echo "**** Branch ${br} appears to be live; checking workflow. ****"
|
||||
ls_jenkins_vars=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/jenkins-vars.yml)
|
||||
ls_branch=$(echo "${ls_jenkins_vars}" | yq -r '.ls_branch')
|
||||
ls_trigger=$(echo "${ls_jenkins_vars}" | yq -r '.external_type')
|
||||
if [[ "${br}" == "${ls_branch}" ]] && [[ "${ls_trigger}" != "os" ]]; then
|
||||
echo "**** Branch ${br} appears to be live and trigger is not os; checking workflow. ****"
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
|
||||
echo "**** Workflow exists. Triggering external trigger workflow for branch ${br} ****."
|
||||
echo "Triggering external trigger workflow for branch ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
@@ -36,8 +36,10 @@ jobs:
|
||||
https://api.github.com/repos/linuxserver/docker-nzbhydra2/actions/workflows/external_trigger.yml/dispatches
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "Skipping branch ${br} due to no external trigger workflow present." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
else
|
||||
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
|
||||
echo "**** ${br} is either a dev branch, or has no external version; skipping trigger. ****"
|
||||
echo "Skipping branch ${br} due to being detected as dev branch or having no external version." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -8,6 +8,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-nzbhydra2/blob/dev/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-nzbhydra2/blob/dev/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-nzbhydra2/blob/dev/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-nzbhydra2/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -4,25 +4,28 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package-trigger-dev:
|
||||
package-trigger-master:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- name: Package Trigger
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_DEV }}" ]; then
|
||||
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_DEV is set; skipping trigger. ****"
|
||||
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_MASTER }}" ]; then
|
||||
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_MASTER is set; skipping trigger. ****"
|
||||
echo "Github secret \`PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_MASTER\` is set; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/dev/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
|
||||
echo "There already seems to be an active build on Jenkins; skipping package trigger" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
echo "**** Package trigger running off of dev branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_DEV\". ****"
|
||||
echo "**** Package trigger running off of master branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_MASTER\". ****"
|
||||
echo "Package trigger running off of master branch. To disable, set a Github secret named \`PAUSE_PACKAGE_TRIGGER_NZBHYDRA2_MASTER\`" >> $GITHUB_STEP_SUMMARY
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/dev/buildWithParameters?PACKAGE_CHECK=true \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/master/buildWithParameters?PACKAGE_CHECK=true \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
echo "**** Jenkins job queue url: ${response%$'\r'} ****"
|
||||
echo "**** Sleeping 10 seconds until job starts ****"
|
||||
@@ -30,6 +33,7 @@ jobs:
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "**** Jenkins job build url: ${buildurl} ****"
|
||||
echo "Jenkins job build url: ${buildurl}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "**** Attempting to change the Jenkins job description ****"
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
|
||||
@@ -2,14 +2,14 @@ name: Package Trigger Scheduler
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '01 9 * * 0'
|
||||
- cron: '57 21 * * 3'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package-trigger-scheduler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
- uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
@@ -17,18 +17,16 @@ jobs:
|
||||
run: |
|
||||
echo "**** Branches found: ****"
|
||||
git for-each-ref --format='%(refname:short)' refs/remotes
|
||||
echo "**** Pulling the yq docker image ****"
|
||||
docker pull ghcr.io/linuxserver/yq
|
||||
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
|
||||
do
|
||||
br=$(echo "$br" | sed 's|origin/||g')
|
||||
echo "**** Evaluating branch ${br} ****"
|
||||
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/jenkins-vars.yml \
|
||||
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
|
||||
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/jenkins-vars.yml | yq -r '.ls_branch')
|
||||
if [ "${br}" == "${ls_branch}" ]; then
|
||||
echo "**** Branch ${br} appears to be live; checking workflow. ****"
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-nzbhydra2/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
|
||||
echo "**** Workflow exists. Triggering package trigger workflow for branch ${br}. ****"
|
||||
echo "Triggering package trigger workflow for branch ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
triggered_branches="${triggered_branches}${br} "
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
@@ -38,9 +36,11 @@ jobs:
|
||||
sleep 30
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "Skipping branch ${br} due to no package trigger workflow present." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
else
|
||||
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
|
||||
echo "Skipping branch ${br} due to being detected as dev branch." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
name: Permission check
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '**/run'
|
||||
- '**/finish'
|
||||
- '**/check'
|
||||
jobs:
|
||||
permission_check:
|
||||
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
|
||||
@@ -1,23 +0,0 @@
|
||||
name: Mark stale issues and pull requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
|
||||
stale-issue-label: 'no-issue-activity'
|
||||
stale-pr-label: 'no-pr-activity'
|
||||
days-before-stale: 30
|
||||
days-before-close: 365
|
||||
exempt-issue-labels: 'awaiting-approval,work-in-progress'
|
||||
exempt-pr-labels: 'awaiting-approval,work-in-progress'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
+42
-30
@@ -1,48 +1,60 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG NZBHYDRA2_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca,nemchik"
|
||||
LABEL maintainer="nemchik"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ENV NZBHYDRA2_RELEASE_TYPE="Pre-Release"
|
||||
ENV NZBHYDRA2_RELEASE_TYPE="Release"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
curl \
|
||||
jq \
|
||||
unzip && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
openjdk-11-jre-headless \
|
||||
python3 && \
|
||||
echo "**** install nzbhydra2 ****" && \
|
||||
if [ -z ${NZBHYDRA2_RELEASE+x} ]; then \
|
||||
NZBHYDRA2_RELEASE=$(curl -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
NZBHYDRA2_VER=${NZBHYDRA2_RELEASE#v} && \
|
||||
curl -o \
|
||||
/tmp/nzbhydra2.zip -L \
|
||||
"https://github.com/theotherp/nzbhydra2/releases/download/v${NZBHYDRA2_VER}/nzbhydra2-${NZBHYDRA2_VER}-linux.zip" && \
|
||||
mkdir -p /app/nzbhydra2/bin && \
|
||||
unzip /tmp/nzbhydra2.zip -d /app/nzbhydra2/bin && \
|
||||
chmod +x /app/nzbhydra2/bin/nzbhydra2wrapperPy3.py && \
|
||||
echo "ReleaseType=${NZBHYDRA2_RELEASE_TYPE}\nPackageVersion=${VERSION}\nPackageAuthor=linuxserver.io" > /app/nzbhydra2/package_info && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
libfreetype6 \
|
||||
openjdk-17-jre-headless \
|
||||
python3 \
|
||||
unzip && \
|
||||
echo "**** install nzbhydra2 ****" && \
|
||||
if [ -z ${NZBHYDRA2_RELEASE+x} ]; then \
|
||||
NZBHYDRA2_RELEASE=$(curl -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases/latest" \
|
||||
| jq -r .tag_name); \
|
||||
fi && \
|
||||
NZBHYDRA2_VER=${NZBHYDRA2_RELEASE#v} && \
|
||||
curl -o \
|
||||
/tmp/nzbhydra2.zip -L \
|
||||
"https://github.com/theotherp/nzbhydra2/releases/download/v${NZBHYDRA2_VER}/nzbhydra2-${NZBHYDRA2_VER}-amd64-linux.zip" && \
|
||||
mkdir -p /app/nzbhydra2 && \
|
||||
unzip /tmp/nzbhydra2.zip -d /app/nzbhydra2 && \
|
||||
chmod +x /app/nzbhydra2/nzbhydra2wrapperPy3.py && \
|
||||
if [ -f /app/nzbhydra2/core ]; then chmod +x /app/nzbhydra2/core; fi && \
|
||||
echo "ReleaseType=${NZBHYDRA2_RELEASE_TYPE}\nPackageVersion=${VERSION}\nPackageAuthor=linuxserver.io" > /app/nzbhydra2/package_info && \
|
||||
mkdir -p /defaults && \
|
||||
curl -o \
|
||||
/defaults/nzbhydra.yml -L \
|
||||
"https://raw.githubusercontent.com/theotherp/nzbhydra2/v${NZBHYDRA2_VER}/core/src/main/resources/config/baseConfig.yml" && \
|
||||
sed -i 's/mapIpToHost: true/mapIpToHost: false/' /defaults/nzbhydra.yml && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/var/log/* \
|
||||
/app/nzbhydra2/upstart \
|
||||
/app/nzbhydra2/rc.d \
|
||||
/app/nzbhydra2/sysv \
|
||||
/app/nzbhydra2/systemd
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 5076
|
||||
|
||||
VOLUME /config
|
||||
|
||||
+42
-30
@@ -1,48 +1,60 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-bionic
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG NZBHYDRA2_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca,nemchik"
|
||||
LABEL maintainer="nemchik"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ENV NZBHYDRA2_RELEASE_TYPE="Pre-Release"
|
||||
ENV NZBHYDRA2_RELEASE_TYPE="Release"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
curl \
|
||||
jq \
|
||||
unzip && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
openjdk-11-jre-headless \
|
||||
python3 && \
|
||||
echo "**** install nzbhydra2 ****" && \
|
||||
if [ -z ${NZBHYDRA2_RELEASE+x} ]; then \
|
||||
NZBHYDRA2_RELEASE=$(curl -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
NZBHYDRA2_VER=${NZBHYDRA2_RELEASE#v} && \
|
||||
curl -o \
|
||||
/tmp/nzbhydra2.zip -L \
|
||||
"https://github.com/theotherp/nzbhydra2/releases/download/v${NZBHYDRA2_VER}/nzbhydra2-${NZBHYDRA2_VER}-linux.zip" && \
|
||||
mkdir -p /app/nzbhydra2/bin && \
|
||||
unzip /tmp/nzbhydra2.zip -d /app/nzbhydra2/bin && \
|
||||
chmod +x /app/nzbhydra2/bin/nzbhydra2wrapperPy3.py && \
|
||||
echo "ReleaseType=${NZBHYDRA2_RELEASE_TYPE}\nPackageVersion=${VERSION}\nPackageAuthor=linuxserver.io" > /app/nzbhydra2/package_info && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
libfreetype6 \
|
||||
openjdk-17-jre-headless \
|
||||
python3 \
|
||||
unzip && \
|
||||
echo "**** install nzbhydra2 ****" && \
|
||||
if [ -z ${NZBHYDRA2_RELEASE+x} ]; then \
|
||||
NZBHYDRA2_RELEASE=$(curl -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases/latest" \
|
||||
| jq -r .tag_name); \
|
||||
fi && \
|
||||
NZBHYDRA2_VER=${NZBHYDRA2_RELEASE#v} && \
|
||||
curl -o \
|
||||
/tmp/nzbhydra2.zip -L \
|
||||
"https://github.com/theotherp/nzbhydra2/releases/download/v${NZBHYDRA2_VER}/nzbhydra2-${NZBHYDRA2_VER}-arm64-linux.zip" && \
|
||||
mkdir -p /app/nzbhydra2 && \
|
||||
unzip /tmp/nzbhydra2.zip -d /app/nzbhydra2 && \
|
||||
chmod +x /app/nzbhydra2/nzbhydra2wrapperPy3.py && \
|
||||
if [ -f /app/nzbhydra2/core ]; then chmod +x /app/nzbhydra2/core; fi && \
|
||||
echo "ReleaseType=${NZBHYDRA2_RELEASE_TYPE}\nPackageVersion=${VERSION}\nPackageAuthor=linuxserver.io" > /app/nzbhydra2/package_info && \
|
||||
mkdir -p /defaults && \
|
||||
curl -o \
|
||||
/defaults/nzbhydra.yml -L \
|
||||
"https://raw.githubusercontent.com/theotherp/nzbhydra2/v${NZBHYDRA2_VER}/core/src/main/resources/config/baseConfig.yml" && \
|
||||
sed -i 's/mapIpToHost: true/mapIpToHost: false/' /defaults/nzbhydra.yml && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/var/log/* \
|
||||
/app/nzbhydra2/upstart \
|
||||
/app/nzbhydra2/rc.d \
|
||||
/app/nzbhydra2/sysv \
|
||||
/app/nzbhydra2/systemd
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 5076
|
||||
|
||||
VOLUME /config
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-bionic
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG NZBHYDRA2_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="aptalca,nemchik"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ENV NZBHYDRA2_RELEASE_TYPE="Pre-Release"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
curl \
|
||||
jq \
|
||||
unzip && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
openjdk-11-jre-headless \
|
||||
python3 && \
|
||||
echo "**** install nzbhydra2 ****" && \
|
||||
if [ -z ${NZBHYDRA2_RELEASE+x} ]; then \
|
||||
NZBHYDRA2_RELEASE=$(curl -sX GET "https://api.github.com/repos/theotherp/nzbhydra2/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
NZBHYDRA2_VER=${NZBHYDRA2_RELEASE#v} && \
|
||||
curl -o \
|
||||
/tmp/nzbhydra2.zip -L \
|
||||
"https://github.com/theotherp/nzbhydra2/releases/download/v${NZBHYDRA2_VER}/nzbhydra2-${NZBHYDRA2_VER}-linux.zip" && \
|
||||
mkdir -p /app/nzbhydra2/bin && \
|
||||
unzip /tmp/nzbhydra2.zip -d /app/nzbhydra2/bin && \
|
||||
chmod +x /app/nzbhydra2/bin/nzbhydra2wrapperPy3.py && \
|
||||
echo "ReleaseType=${NZBHYDRA2_RELEASE_TYPE}\nPackageVersion=${VERSION}\nPackageAuthor=linuxserver.io" > /app/nzbhydra2/package_info && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 5076
|
||||
VOLUME /config
|
||||
Vendored
+350
-331
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read the https://github.com/linuxserver/docker-nzbhydra2/blob/dev/.github/CONTRIBUTING.md -->
|
||||
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read https://github.com/linuxserver/docker-nzbhydra2/blob/master/.github/CONTRIBUTING.md -->
|
||||
[](https://linuxserver.io)
|
||||
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
@@ -29,7 +28,7 @@ Find us at:
|
||||
|
||||
# [linuxserver/nzbhydra2](https://github.com/linuxserver/docker-nzbhydra2)
|
||||
|
||||
[](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fnzbhydra2)
|
||||
[](https://scarf.sh)
|
||||
[](https://github.com/linuxserver/docker-nzbhydra2)
|
||||
[](https://github.com/linuxserver/docker-nzbhydra2/releases)
|
||||
[](https://github.com/linuxserver/docker-nzbhydra2/packages)
|
||||
@@ -37,37 +36,37 @@ Find us at:
|
||||
[](https://quay.io/repository/linuxserver.io/nzbhydra2)
|
||||
[](https://hub.docker.com/r/linuxserver/nzbhydra2)
|
||||
[](https://hub.docker.com/r/linuxserver/nzbhydra2)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/dev/)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-nzbhydra2/job/master/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/nzbhydra2/latest/index.html)
|
||||
|
||||
[Nzbhydra2](https://github.com/theotherp/nzbhydra2) is a meta search application for NZB indexers, the "spiritual successor" to NZBmegasearcH, and an evolution of the original application [NZBHydra](https://github.com/theotherp/nzbhydra).
|
||||
|
||||
It provides easy access to a number of raw and newznab based indexers. The application NZBHydra 2 is currently in its early stages and is in active development. Be wary that there may be some compatibility issues for those migrating from V1 to V2, so ensure you back up your old configuration before moving over to the new version.
|
||||
It provides easy access to a number of raw and newznab based indexers. The application NZBHydra 2 is replacing NZBHydra 1 and supports migrating from V1. Be wary that there may be some compatibility issues for those migrating from V1 to V2, so ensure you back up your old configuration before moving over to the new version. **NOTE:** The last version that supports migration is `linuxserver/nzbhydra2:v2.10.2-ls49`
|
||||
|
||||
[](https://github.com/theotherp/nzbhydra2)
|
||||
|
||||
## Supported Architectures
|
||||
|
||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
||||
Simply pulling `lscr.io/linuxserver/nzbhydra2` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/nzbhydra2:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
|
||||
The architectures supported by this image are:
|
||||
|
||||
| Architecture | Tag |
|
||||
| :----: | --- |
|
||||
| x86-64 | amd64-latest |
|
||||
| arm64 | arm64v8-latest |
|
||||
| armhf | arm32v7-latest |
|
||||
| Architecture | Available | Tag |
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf | ❌ | |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
|
||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
||||
|
||||
| Tag | Description |
|
||||
| :----: | --- |
|
||||
| latest | Stable releases |
|
||||
| dev | Prereleases from their GitHub |
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Stable releases |
|
||||
| dev | ✅ | Prereleases from their GitHub |
|
||||
|
||||
## Application Setup
|
||||
|
||||
@@ -75,24 +74,23 @@ The web interface is at `<your ip>:5076` , to set up indexers and connections to
|
||||
|
||||
## Usage
|
||||
|
||||
Here are some example snippets to help you get started creating a container.
|
||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||
|
||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
nzbhydra2:
|
||||
image: lscr.io/linuxserver/nzbhydra2
|
||||
image: lscr.io/linuxserver/nzbhydra2:latest
|
||||
container_name: nzbhydra2
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- <path to data>:/config
|
||||
- <nzb download>:/downloads
|
||||
- /path/to/data:/config
|
||||
- /nzb/download:/downloads
|
||||
ports:
|
||||
- 5076:5076
|
||||
restart: unless-stopped
|
||||
@@ -105,24 +103,24 @@ docker run -d \
|
||||
--name=nzbhydra2 \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e TZ=Etc/UTC \
|
||||
-p 5076:5076 \
|
||||
-v <path to data>:/config \
|
||||
-v <nzb download>:/downloads \
|
||||
-v /path/to/data:/config \
|
||||
-v /nzb/download:/downloads \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/nzbhydra2
|
||||
lscr.io/linuxserver/nzbhydra2:latest
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
|
||||
| Parameter | Function |
|
||||
| :----: | --- |
|
||||
| `-p 5076` | WebUI |
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `-v /config` | Where nzbhydra2 should store config files. |
|
||||
| `-v /downloads` | NZB download folder. |
|
||||
|
||||
@@ -133,10 +131,10 @@ You can set any environment variable from a file by using a special prepend `FIL
|
||||
As an example:
|
||||
|
||||
```bash
|
||||
-e FILE__PASSWORD=/run/secrets/mysecretpassword
|
||||
-e FILE__MYVAR=/run/secrets/mysecretvariable
|
||||
```
|
||||
|
||||
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
|
||||
Will set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.
|
||||
|
||||
## Umask for running applications
|
||||
|
||||
@@ -145,15 +143,20 @@ Keep in mind umask is not chmod it subtracts from permissions based on it's valu
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
When using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
|
||||
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
|
||||
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:
|
||||
|
||||
```bash
|
||||
$ id username
|
||||
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
id your_user
|
||||
```
|
||||
|
||||
Example output:
|
||||
|
||||
```text
|
||||
uid=1000(your_user) gid=1000(your_user) groups=1000(your_user)
|
||||
```
|
||||
|
||||
## Docker Mods
|
||||
@@ -164,53 +167,100 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
||||
|
||||
## Support Info
|
||||
|
||||
* Shell access whilst the container is running: `docker exec -it nzbhydra2 /bin/bash`
|
||||
* To monitor the logs of the container in realtime: `docker logs -f nzbhydra2`
|
||||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' nzbhydra2`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/nzbhydra2`
|
||||
* Shell access whilst the container is running:
|
||||
|
||||
```bash
|
||||
docker exec -it nzbhydra2 /bin/bash
|
||||
```
|
||||
|
||||
* To monitor the logs of the container in realtime:
|
||||
|
||||
```bash
|
||||
docker logs -f nzbhydra2
|
||||
```
|
||||
|
||||
* Container version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' nzbhydra2
|
||||
```
|
||||
|
||||
* Image version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/nzbhydra2:latest
|
||||
```
|
||||
|
||||
## Updating Info
|
||||
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
|
||||
Below are the instructions for updating containers:
|
||||
|
||||
### Via Docker Compose
|
||||
|
||||
* Update all images: `docker-compose pull`
|
||||
* or update a single image: `docker-compose pull nzbhydra2`
|
||||
* Let compose update all containers as necessary: `docker-compose up -d`
|
||||
* or update a single container: `docker-compose up -d nzbhydra2`
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
* Update images:
|
||||
* All images:
|
||||
|
||||
```bash
|
||||
docker-compose pull
|
||||
```
|
||||
|
||||
* Single image:
|
||||
|
||||
```bash
|
||||
docker-compose pull nzbhydra2
|
||||
```
|
||||
|
||||
* Update containers:
|
||||
* All containers:
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
* Single container:
|
||||
|
||||
```bash
|
||||
docker-compose up -d nzbhydra2
|
||||
```
|
||||
|
||||
* You can also remove the old dangling images:
|
||||
|
||||
```bash
|
||||
docker image prune
|
||||
```
|
||||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull lscr.io/linuxserver/nzbhydra2`
|
||||
* Stop the running container: `docker stop nzbhydra2`
|
||||
* Delete the container: `docker rm nzbhydra2`
|
||||
* Update the image:
|
||||
|
||||
```bash
|
||||
docker pull lscr.io/linuxserver/nzbhydra2:latest
|
||||
```
|
||||
|
||||
* Stop the running container:
|
||||
|
||||
```bash
|
||||
docker stop nzbhydra2
|
||||
```
|
||||
|
||||
* Delete the container:
|
||||
|
||||
```bash
|
||||
docker rm nzbhydra2
|
||||
```
|
||||
|
||||
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
* You can also remove the old dangling images:
|
||||
|
||||
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
|
||||
|
||||
* Pull the latest image at its tag and replace it with the same env variables in one run:
|
||||
|
||||
```bash
|
||||
docker run --rm \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower \
|
||||
--run-once nzbhydra2
|
||||
```
|
||||
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
|
||||
```bash
|
||||
docker image prune
|
||||
```
|
||||
|
||||
### Image Update Notifications - Diun (Docker Image Update Notifier)
|
||||
|
||||
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
|
||||
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
|
||||
|
||||
## Building locally
|
||||
|
||||
@@ -235,9 +285,15 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **04.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
|
||||
* **22.01.23:** - Update release URL for arch-specific packages.
|
||||
* **20.01.23:** - Update dependencies for v5.
|
||||
* **10.12.22:** - Bump master JRE to v17. Default mapIpToHost to false.
|
||||
* **11.09.22:** - Migrate to s6v3.
|
||||
* **03.05.22:** - Rebase to Jammy.
|
||||
* **18.04.22:** - Rebase to Alpine 3.15.
|
||||
* **01.05.20:** - Reorganize container, Relocate app to /app/nzbhydra2/bin, Create /app/nzbhydra2/package_info, Use nzbhydra2wrapperPy3.py from zip.
|
||||
* **29.04.20:** - Include stable releases incrementally with dev releases.
|
||||
* **14.04.20:** - Correct Name, Hydra2 -> Nzbhydra2.
|
||||
* **14.04.20:** - Correct Name, Hydra2 -> NZBHydra2.
|
||||
* **08.01.20:** - Switch to python3.
|
||||
* **05.01.20:** - Add dev tag for prereleases.
|
||||
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
|
||||
|
||||
+6
-6
@@ -2,12 +2,12 @@
|
||||
|
||||
# jenkins variables
|
||||
project_name: docker-nzbhydra2
|
||||
external_type: github_devel
|
||||
release_type: prerelease
|
||||
release_tag: dev
|
||||
ls_branch: dev
|
||||
external_type: github_stable
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: master
|
||||
repo_vars:
|
||||
- EXT_GIT_BRANCH = 'develop'
|
||||
- EXT_GIT_BRANCH = 'master'
|
||||
- EXT_USER = 'theotherp'
|
||||
- EXT_REPO = 'nzbhydra2'
|
||||
- BUILD_VERSION_ARG = 'NZBHYDRA2_RELEASE'
|
||||
@@ -26,7 +26,7 @@ repo_vars:
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
- CI_AUTH='user:password'
|
||||
- CI_WEBPATH=''
|
||||
- CI_WEBPATH='/system/about'
|
||||
sponsor_links:
|
||||
- { name: "NZBHydra 2", url: "https://github.com/theotherp/nzbhydra2#donate" }
|
||||
|
||||
|
||||
+184
-165
@@ -1,165 +1,184 @@
|
||||
adduser3.116ubuntu1
|
||||
apt1.6.14
|
||||
apt-utils1.6.14
|
||||
base-files10.1ubuntu2.11
|
||||
base-passwd3.5.44
|
||||
bash4.4.18-2ubuntu1.2
|
||||
bsdutils1:2.31.1-0.4ubuntu3.7
|
||||
bzip21.0.6-8.1ubuntu0.2
|
||||
ca-certificates20210119~18.04.2
|
||||
ca-certificates-java20180516ubuntu1~18.04.1
|
||||
coreutils8.28-1ubuntu1
|
||||
curl7.58.0-2ubuntu3.16
|
||||
dash0.5.8-2.10
|
||||
debconf1.5.66ubuntu1
|
||||
debianutils4.8.4
|
||||
diffutils1:3.6-1
|
||||
dpkg1.19.0.5ubuntu2.3
|
||||
e2fsprogs1.44.1-1ubuntu1.3
|
||||
fdisk2.31.1-0.4ubuntu3.7
|
||||
findutils4.6.0+git+20170828-2
|
||||
fontconfig-config2.12.6-0ubuntu2
|
||||
fonts-dejavu-core2.37-1
|
||||
gcc-8-base8.4.0-1ubuntu1~18.04
|
||||
gpgv2.2.4-1ubuntu1.4
|
||||
grep3.1-2build1
|
||||
gzip1.6-5ubuntu1.1
|
||||
hostname3.20
|
||||
init-system-helpers1.51
|
||||
java-common0.68ubuntu1~18.04.1
|
||||
jq1.5+dfsg-2
|
||||
krb5-locales1.16-2ubuntu0.2
|
||||
libacl12.2.52-3build1
|
||||
libapt-inst2.01.6.14
|
||||
libapt-pkg5.01.6.14
|
||||
libasn1-8-heimdal7.5.0+dfsg-1
|
||||
libasound21.1.3-5ubuntu0.6
|
||||
libasound2-data1.1.3-5ubuntu0.6
|
||||
libattr11:2.4.47-2build1
|
||||
libaudit11:2.8.2-1ubuntu1.1
|
||||
libaudit-common1:2.8.2-1ubuntu1.1
|
||||
libavahi-client30.7-3.1ubuntu1.3
|
||||
libavahi-common30.7-3.1ubuntu1.3
|
||||
libavahi-common-data0.7-3.1ubuntu1.3
|
||||
libblkid12.31.1-0.4ubuntu3.7
|
||||
libbz2-1.01.0.6-8.1ubuntu0.2
|
||||
libc62.27-3ubuntu1.5
|
||||
libcap-ng00.7.7-3.1
|
||||
libc-bin2.27-3ubuntu1.5
|
||||
libcom-err21.44.1-1ubuntu1.3
|
||||
libcups22.2.7-1ubuntu2.8
|
||||
libcurl47.58.0-2ubuntu3.16
|
||||
libdb5.35.3.28-13.1ubuntu1.1
|
||||
libdbus-1-31.12.2-1ubuntu1.2
|
||||
libdebconfclient00.213ubuntu1
|
||||
libexpat12.2.5-3ubuntu0.7
|
||||
libext2fs21.44.1-1ubuntu1.3
|
||||
libfdisk12.31.1-0.4ubuntu3.7
|
||||
libffi63.2.1-8
|
||||
libfontconfig12.12.6-0ubuntu2
|
||||
libfreetype62.8.1-2ubuntu2.1
|
||||
libgcc11:8.4.0-1ubuntu1~18.04
|
||||
libgcrypt201.8.1-4ubuntu1.3
|
||||
libglib2.0-02.56.4-0ubuntu0.18.04.9
|
||||
libgmp102:6.1.2+dfsg-2
|
||||
libgnutls303.5.18-1ubuntu1.5
|
||||
libgpg-error01.27-6
|
||||
libgraphite2-31.3.11-2
|
||||
libgssapi3-heimdal7.5.0+dfsg-1
|
||||
libgssapi-krb5-21.16-2ubuntu0.2
|
||||
libharfbuzz0b1.7.2-1ubuntu1
|
||||
libhcrypto4-heimdal7.5.0+dfsg-1
|
||||
libheimbase1-heimdal7.5.0+dfsg-1
|
||||
libheimntlm0-heimdal7.5.0+dfsg-1
|
||||
libhogweed43.4.1-0ubuntu0.18.04.1
|
||||
libhx509-5-heimdal7.5.0+dfsg-1
|
||||
libidn2-02.0.4-1.1ubuntu0.2
|
||||
libjpeg88c-2ubuntu8
|
||||
libjpeg-turbo81.5.2-0ubuntu5.18.04.4
|
||||
libjq11.5+dfsg-2
|
||||
libk5crypto31.16-2ubuntu0.2
|
||||
libkeyutils11.5.9-9.2ubuntu2
|
||||
libkrb5-26-heimdal7.5.0+dfsg-1
|
||||
libkrb5-31.16-2ubuntu0.2
|
||||
libkrb5support01.16-2ubuntu0.2
|
||||
liblcms2-22.9-1ubuntu0.1
|
||||
libldap-2.4-22.4.45+dfsg-1ubuntu1.10
|
||||
libldap-common2.4.45+dfsg-1ubuntu1.10
|
||||
liblz4-10.0~r131-2ubuntu3.1
|
||||
liblzma55.2.2-1.3
|
||||
libmount12.31.1-0.4ubuntu3.7
|
||||
libmpdec22.4.2-1ubuntu1
|
||||
libncurses56.1-1ubuntu1.18.04
|
||||
libncursesw56.1-1ubuntu1.18.04
|
||||
libnettle63.4.1-0ubuntu0.18.04.1
|
||||
libnghttp2-141.30.0-1ubuntu1
|
||||
libnspr42:4.18-1ubuntu1
|
||||
libnss32:3.35-2ubuntu2.13
|
||||
libonig46.7.0-1
|
||||
libp11-kit00.23.9-2ubuntu0.1
|
||||
libpam0g1.1.8-3.6ubuntu2.18.04.3
|
||||
libpam-modules1.1.8-3.6ubuntu2.18.04.3
|
||||
libpam-modules-bin1.1.8-3.6ubuntu2.18.04.3
|
||||
libpam-runtime1.1.8-3.6ubuntu2.18.04.3
|
||||
libpcre32:8.39-9
|
||||
libpcsclite11.8.23-1
|
||||
libpng16-161.6.34-1ubuntu0.18.04.2
|
||||
libprocps62:3.3.12-3ubuntu1.2
|
||||
libpsl50.19.1-5build1
|
||||
libpython3.6-minimal3.6.9-1~18.04ubuntu1.6
|
||||
libpython3.6-stdlib3.6.9-1~18.04ubuntu1.6
|
||||
libpython3-stdlib3.6.7-1~18.04
|
||||
libreadline77.0-3
|
||||
libroken18-heimdal7.5.0+dfsg-1
|
||||
librtmp12.4+20151223.gitfa8646d.1-1
|
||||
libsasl2-22.1.27~101-g0780600+dfsg-3ubuntu2.4
|
||||
libsasl2-modules2.1.27~101-g0780600+dfsg-3ubuntu2.4
|
||||
libsasl2-modules-db2.1.27~101-g0780600+dfsg-3ubuntu2.4
|
||||
libseccomp22.5.1-1ubuntu1~18.04.2
|
||||
libselinux12.7-2build2
|
||||
libsemanage12.7-2build2
|
||||
libsemanage-common2.7-2build2
|
||||
libsepol12.7-1
|
||||
libsmartcols12.31.1-0.4ubuntu3.7
|
||||
libsqlite3-03.22.0-1ubuntu0.4
|
||||
libss21.44.1-1ubuntu1.3
|
||||
libssl1.11.1.1-1ubuntu2.1~18.04.15
|
||||
libstdc++68.4.0-1ubuntu1~18.04
|
||||
libsystemd0237-3ubuntu10.53
|
||||
libtasn1-64.13-2
|
||||
libtinfo56.1-1ubuntu1.18.04
|
||||
libudev1237-3ubuntu10.53
|
||||
libunistring20.9.9-0ubuntu2
|
||||
libuuid12.31.1-0.4ubuntu3.7
|
||||
libwind0-heimdal7.5.0+dfsg-1
|
||||
libzstd11.3.3+dfsg-2ubuntu1.2
|
||||
locales2.27-3ubuntu1.5
|
||||
login1:4.5-1ubuntu2.2
|
||||
lsb-base9.20170808ubuntu1
|
||||
mawk1.3.3-17ubuntu3
|
||||
mime-support3.60ubuntu1
|
||||
mount2.31.1-0.4ubuntu3.7
|
||||
multiarch-support2.27-3ubuntu1.5
|
||||
ncurses-base6.1-1ubuntu1.18.04
|
||||
ncurses-bin6.1-1ubuntu1.18.04
|
||||
openjdk-11-jre-headless11.0.14+9-0ubuntu2~18.04
|
||||
openssl1.1.1-1ubuntu2.1~18.04.15
|
||||
passwd1:4.5-1ubuntu2.2
|
||||
perl-base5.26.1-6ubuntu0.5
|
||||
procps2:3.3.12-3ubuntu1.2
|
||||
publicsuffix20180223.1310-1
|
||||
python33.6.7-1~18.04
|
||||
python3.63.6.9-1~18.04ubuntu1.6
|
||||
python3.6-minimal3.6.9-1~18.04ubuntu1.6
|
||||
python3-minimal3.6.7-1~18.04
|
||||
readline-common7.0-3
|
||||
sed4.4-2
|
||||
sensible-utils0.0.12
|
||||
sysvinit-utils2.88dsf-59.10ubuntu1
|
||||
tar1.29b-2ubuntu0.3
|
||||
tzdata2021e-0ubuntu0.18.04
|
||||
ubuntu-keyring2018.09.18.1~18.04.2
|
||||
ucf3.0038
|
||||
unzip6.0-21ubuntu1.1
|
||||
util-linux2.31.1-0.4ubuntu3.7
|
||||
zlib1g1:1.2.11.dfsg-0ubuntu2
|
||||
NAME VERSION TYPE
|
||||
adduser 3.118ubuntu5 deb
|
||||
apt 2.4.12 deb
|
||||
apt-utils 2.4.12 deb
|
||||
base-files 12ubuntu4.6 deb
|
||||
base-passwd 3.5.52build1 deb
|
||||
bash 5.1-6ubuntu1.1 deb
|
||||
bsdutils 1:2.37.2-4ubuntu3.4 deb
|
||||
ca-certificates 20230311ubuntu0.22.04.1 deb
|
||||
ca-certificates-java java-archive
|
||||
ca-certificates-java 20190909ubuntu1.2 deb
|
||||
catatonit 0.1.7-1 deb
|
||||
coreutils 8.32-4.1ubuntu1.2 deb
|
||||
cron 3.0pl1-137ubuntu3 deb
|
||||
curl 7.81.0-1ubuntu1.16 deb
|
||||
dash 0.5.11+git20210903+057cd650a4ed-3build1 deb
|
||||
debconf 1.5.79ubuntu1 deb
|
||||
debianutils 5.5-1ubuntu2 deb
|
||||
diffutils 1:3.8-0ubuntu2 deb
|
||||
dirmngr 2.2.27-3ubuntu2.1 deb
|
||||
dpkg 1.21.1ubuntu2.3 deb
|
||||
e2fsprogs 1.46.5-2ubuntu1.1 deb
|
||||
findutils 4.8.0-1ubuntu3 deb
|
||||
fontconfig-config 2.13.1-4.2ubuntu5 deb
|
||||
fonts-dejavu-core 2.37-2build1 deb
|
||||
gcc-12-base 12.3.0-1ubuntu1~22.04 deb
|
||||
gnupg 2.2.27-3ubuntu2.1 deb
|
||||
gnupg-l10n 2.2.27-3ubuntu2.1 deb
|
||||
gnupg-utils 2.2.27-3ubuntu2.1 deb
|
||||
gpg 2.2.27-3ubuntu2.1 deb
|
||||
gpg-agent 2.2.27-3ubuntu2.1 deb
|
||||
gpg-wks-client 2.2.27-3ubuntu2.1 deb
|
||||
gpg-wks-server 2.2.27-3ubuntu2.1 deb
|
||||
gpgconf 2.2.27-3ubuntu2.1 deb
|
||||
gpgsm 2.2.27-3ubuntu2.1 deb
|
||||
gpgv 2.2.27-3ubuntu2.1 deb
|
||||
grep 3.7-1build1 deb
|
||||
gzip 1.10-4ubuntu4.1 deb
|
||||
hostname 3.23ubuntu2 deb
|
||||
init-system-helpers 1.62 deb
|
||||
java-common 0.72build2 deb
|
||||
jq 1.6-2.1ubuntu3 deb
|
||||
jrt-fs 17.0.11 java-archive
|
||||
libacl1 2.3.1-1 deb
|
||||
libapt-pkg6.0 2.4.12 deb
|
||||
libasound2 1.2.6.1-1ubuntu1 deb
|
||||
libasound2-data 1.2.6.1-1ubuntu1 deb
|
||||
libassuan0 2.5.5-1build1 deb
|
||||
libattr1 1:2.5.1-1build1 deb
|
||||
libaudit-common 1:3.0.7-1build1 deb
|
||||
libaudit1 1:3.0.7-1build1 deb
|
||||
libavahi-client3 0.8-5ubuntu5.2 deb
|
||||
libavahi-common-data 0.8-5ubuntu5.2 deb
|
||||
libavahi-common3 0.8-5ubuntu5.2 deb
|
||||
libblkid1 2.37.2-4ubuntu3.4 deb
|
||||
libbrotli1 1.0.9-2build6 deb
|
||||
libbsd0 0.11.5-1 deb
|
||||
libbz2-1.0 1.0.8-5build1 deb
|
||||
libc-bin 2.35-0ubuntu3.8 deb
|
||||
libc6 2.35-0ubuntu3.8 deb
|
||||
libcap-ng0 0.7.9-2.2build3 deb
|
||||
libcap2 1:2.44-1ubuntu0.22.04.1 deb
|
||||
libcom-err2 1.46.5-2ubuntu1.1 deb
|
||||
libcrypt1 1:4.4.27-1 deb
|
||||
libcups2 2.4.1op1-1ubuntu4.8 deb
|
||||
libcurl4 7.81.0-1ubuntu1.16 deb
|
||||
libdb5.3 5.3.28+dfsg1-0.8ubuntu3 deb
|
||||
libdbus-1-3 1.12.20-2ubuntu4.1 deb
|
||||
libdebconfclient0 0.261ubuntu1 deb
|
||||
libexpat1 2.4.7-1ubuntu0.3 deb
|
||||
libext2fs2 1.46.5-2ubuntu1.1 deb
|
||||
libffi8 3.4.2-4 deb
|
||||
libfontconfig1 2.13.1-4.2ubuntu5 deb
|
||||
libfreetype6 2.11.1+dfsg-1ubuntu0.2 deb
|
||||
libgcc-s1 12.3.0-1ubuntu1~22.04 deb
|
||||
libgcrypt20 1.9.4-3ubuntu3 deb
|
||||
libglib2.0-0 2.72.4-0ubuntu2.3 deb
|
||||
libgmp10 2:6.2.1+dfsg-3ubuntu1 deb
|
||||
libgnutls30 3.7.3-4ubuntu1.5 deb
|
||||
libgpg-error0 1.43-3 deb
|
||||
libgraphite2-3 1.3.14-1build2 deb
|
||||
libgssapi-krb5-2 1.19.2-2ubuntu0.3 deb
|
||||
libharfbuzz0b 2.7.4-1ubuntu3.1 deb
|
||||
libhogweed6 3.7.3-1build2 deb
|
||||
libidn2-0 2.3.2-2build1 deb
|
||||
libjpeg-turbo8 2.1.2-0ubuntu1 deb
|
||||
libjpeg8 8c-2ubuntu10 deb
|
||||
libjq1 1.6-2.1ubuntu3 deb
|
||||
libk5crypto3 1.19.2-2ubuntu0.3 deb
|
||||
libkeyutils1 1.6.1-2ubuntu3 deb
|
||||
libkrb5-3 1.19.2-2ubuntu0.3 deb
|
||||
libkrb5support0 1.19.2-2ubuntu0.3 deb
|
||||
libksba8 1.6.0-2ubuntu0.2 deb
|
||||
liblcms2-2 2.12~rc1-2build2 deb
|
||||
libldap-2.5-0 2.5.17+dfsg-0ubuntu0.22.04.1 deb
|
||||
libldap-common 2.5.17+dfsg-0ubuntu0.22.04.1 deb
|
||||
liblz4-1 1.9.3-2build2 deb
|
||||
liblzma5 5.2.5-2ubuntu1 deb
|
||||
libmd0 1.0.4-1build1 deb
|
||||
libmount1 2.37.2-4ubuntu3.4 deb
|
||||
libmpdec3 2.5.1-2build2 deb
|
||||
libncurses6 6.3-2ubuntu0.1 deb
|
||||
libncursesw6 6.3-2ubuntu0.1 deb
|
||||
libnettle8 3.7.3-1build2 deb
|
||||
libnghttp2-14 1.43.0-1ubuntu0.2 deb
|
||||
libnpth0 1.6-3build2 deb
|
||||
libnsl2 1.3.0-2build2 deb
|
||||
libnspr4 2:4.35-0ubuntu0.22.04.1 deb
|
||||
libnss3 2:3.98-0ubuntu0.22.04.2 deb
|
||||
libonig5 6.9.7.1-2build1 deb
|
||||
libp11-kit0 0.24.0-6build1 deb
|
||||
libpam-modules 1.4.0-11ubuntu2.4 deb
|
||||
libpam-modules-bin 1.4.0-11ubuntu2.4 deb
|
||||
libpam-runtime 1.4.0-11ubuntu2.4 deb
|
||||
libpam0g 1.4.0-11ubuntu2.4 deb
|
||||
libpcre2-8-0 10.39-3ubuntu0.1 deb
|
||||
libpcre3 2:8.39-13ubuntu0.22.04.1 deb
|
||||
libpcsclite1 1.9.5-3ubuntu1 deb
|
||||
libpng16-16 1.6.37-3build5 deb
|
||||
libprocps8 2:3.3.17-6ubuntu2.1 deb
|
||||
libpsl5 0.21.0-1.2build2 deb
|
||||
libpython3-stdlib 3.10.6-1~22.04 deb
|
||||
libpython3.10-minimal 3.10.12-1~22.04.3 deb
|
||||
libpython3.10-stdlib 3.10.12-1~22.04.3 deb
|
||||
libreadline8 8.1.2-1 deb
|
||||
librtmp1 2.4+20151223.gitfa8646d.1-2build4 deb
|
||||
libsasl2-2 2.1.27+dfsg2-3ubuntu1.2 deb
|
||||
libsasl2-modules 2.1.27+dfsg2-3ubuntu1.2 deb
|
||||
libsasl2-modules-db 2.1.27+dfsg2-3ubuntu1.2 deb
|
||||
libseccomp2 2.5.3-2ubuntu2 deb
|
||||
libselinux1 3.3-1build2 deb
|
||||
libsemanage-common 3.3-1build2 deb
|
||||
libsemanage2 3.3-1build2 deb
|
||||
libsepol2 3.3-1build1 deb
|
||||
libsmartcols1 2.37.2-4ubuntu3.4 deb
|
||||
libsqlite3-0 3.37.2-2ubuntu0.3 deb
|
||||
libss2 1.46.5-2ubuntu1.1 deb
|
||||
libssh-4 0.9.6-2ubuntu0.22.04.3 deb
|
||||
libssl3 3.0.2-0ubuntu1.15 deb
|
||||
libstdc++6 12.3.0-1ubuntu1~22.04 deb
|
||||
libsystemd0 249.11-0ubuntu3.12 deb
|
||||
libtasn1-6 4.18.0-4build1 deb
|
||||
libtinfo6 6.3-2ubuntu0.1 deb
|
||||
libtirpc-common 1.3.2-2ubuntu0.1 deb
|
||||
libtirpc3 1.3.2-2ubuntu0.1 deb
|
||||
libudev1 249.11-0ubuntu3.12 deb
|
||||
libunistring2 1.0-1 deb
|
||||
libuuid1 2.37.2-4ubuntu3.4 deb
|
||||
libxxhash0 0.8.1-1 deb
|
||||
libzstd1 1.4.8+dfsg-3build1 deb
|
||||
locales 2.35-0ubuntu3.8 deb
|
||||
login 1:4.8.1-2ubuntu2.2 deb
|
||||
logsave 1.46.5-2ubuntu1.1 deb
|
||||
lsb-base 11.1.0ubuntu4 deb
|
||||
mawk 1.3.4.20200120-3 deb
|
||||
media-types 7.0.0 deb
|
||||
mount 2.37.2-4ubuntu3.4 deb
|
||||
ncurses-base 6.3-2ubuntu0.1 deb
|
||||
ncurses-bin 6.3-2ubuntu0.1 deb
|
||||
netcat 1.218-4ubuntu1 deb
|
||||
netcat-openbsd 1.218-4ubuntu1 deb
|
||||
openjdk-17-jre-headless 17.0.11+9-1~22.04.1 deb
|
||||
openssl 3.0.2-0ubuntu1.15 deb
|
||||
passwd 1:4.8.1-2ubuntu2.2 deb
|
||||
perl-base 5.34.0-3ubuntu1.3 deb
|
||||
pinentry-curses 1.1.1-1build2 deb
|
||||
procps 2:3.3.17-6ubuntu2.1 deb
|
||||
publicsuffix 20211207.1025-1 deb
|
||||
python3 3.10.6-1~22.04 deb
|
||||
python3-minimal 3.10.6-1~22.04 deb
|
||||
python3.10 3.10.12-1~22.04.3 deb
|
||||
python3.10-minimal 3.10.12-1~22.04.3 deb
|
||||
readline-common 8.1.2-1 deb
|
||||
sed 4.8-1ubuntu2 deb
|
||||
sensible-utils 0.0.17 deb
|
||||
sysvinit-utils 3.01-1ubuntu1 deb
|
||||
tar 1.34+dfsg-1ubuntu0.1.22.04.2 deb
|
||||
tzdata 2024a-0ubuntu0.22.04 deb
|
||||
ubuntu-keyring 2021.03.26 deb
|
||||
ucf 3.0043 deb
|
||||
unzip 6.0-26ubuntu3.2 deb
|
||||
usrmerge 25ubuntu2 deb
|
||||
util-linux 2.37.2-4ubuntu3.4 deb
|
||||
zlib1g 1:1.2.11.dfsg-2ubuntu9.2 deb
|
||||
|
||||
+26
-28
@@ -7,39 +7,34 @@ project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/ma
|
||||
project_blurb: |
|
||||
[{{ project_name|capitalize }}]({{ project_url }}) is a meta search application for NZB indexers, the "spiritual successor" to NZBmegasearcH, and an evolution of the original application [NZBHydra](https://github.com/theotherp/nzbhydra).
|
||||
|
||||
It provides easy access to a number of raw and newznab based indexers. The application NZBHydra 2 is currently in its early stages and is in active development. Be wary that there may be some compatibility issues for those migrating from V1 to V2, so ensure you back up your old configuration before moving over to the new version.
|
||||
It provides easy access to a number of raw and newznab based indexers. The application NZBHydra 2 is replacing NZBHydra 1 and supports migrating from V1. Be wary that there may be some compatibility issues for those migrating from V1 to V2, so ensure you back up your old configuration before moving over to the new version. **NOTE:** The last version that supports migration is `linuxserver/nzbhydra2:v2.10.2-ls49`
|
||||
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
|
||||
project_blurb_optional_extras_enabled: false
|
||||
|
||||
# supported architectures
|
||||
available_architectures:
|
||||
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
|
||||
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
|
||||
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
|
||||
|
||||
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
|
||||
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
|
||||
# development version
|
||||
development_versions: true
|
||||
development_versions_items:
|
||||
- { tag: "latest", desc: "Stable releases" }
|
||||
- { tag: "dev", desc: "Prereleases from their GitHub" }
|
||||
|
||||
- {tag: "latest", desc: "Stable releases"}
|
||||
- {tag: "dev", desc: "Prereleases from their GitHub"}
|
||||
# container parameters
|
||||
common_param_env_vars_enabled: true
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_net: false
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
|
||||
- {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "Where nzbhydra2 should store config files." }
|
||||
- { vol_path: "/downloads", vol_host_path: "<nzb download>", desc: "NZB download folder." }
|
||||
- {vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where nzbhydra2 should store config files."}
|
||||
- {vol_path: "/downloads", vol_host_path: "/nzb/download", desc: "NZB download folder."}
|
||||
param_usage_include_ports: true
|
||||
param_ports:
|
||||
- { external_port: "5076", internal_port: "5076", port_desc: "WebUI" }
|
||||
- {external_port: "5076", internal_port: "5076", port_desc: "WebUI"}
|
||||
param_device_map: false
|
||||
cap_add_param: false
|
||||
|
||||
# optional container parameters
|
||||
opt_param_usage_include_env: false
|
||||
opt_param_usage_include_vols: false
|
||||
@@ -47,23 +42,26 @@ opt_param_usage_include_ports: false
|
||||
opt_param_device_map: false
|
||||
opt_cap_add_param: false
|
||||
optional_block_1: false
|
||||
|
||||
# application setup block
|
||||
app_setup_block_enabled: true
|
||||
app_setup_block: |
|
||||
The web interface is at `<your ip>:5076` , to set up indexers and connections to your nzb download applications.
|
||||
|
||||
# changelog
|
||||
|
||||
changelogs:
|
||||
- { date: "01.05.20:", desc: "Reorganize container, Relocate app to /app/nzbhydra2/bin, Create /app/nzbhydra2/package_info, Use nzbhydra2wrapperPy3.py from zip." }
|
||||
- { date: "29.04.20:", desc: "Include stable releases incrementally with dev releases." }
|
||||
- { date: "14.04.20:", desc: "Correct Name, Hydra2 -> Nzbhydra2." }
|
||||
- { date: "08.01.20:", desc: "Switch to python3." }
|
||||
- { date: "05.01.20:", desc: "Add dev tag for prereleases." }
|
||||
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
|
||||
- { date: "11.02.19:", desc: "Add pipeline logic and multi arch." }
|
||||
- { date: "18.08.18:", desc: "Bump java version to 10, (bionic currently refers to it as version 11)." }
|
||||
- { date: "10.08.18:", desc: "Rebase to ubuntu bionic." }
|
||||
- { date: "15.04.18:", desc: "Change to port 5076 in the Dockerfile." }
|
||||
- { date: "11.01.18:", desc: "Initial Release." }
|
||||
- {date: "04.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
|
||||
- {date: "22.01.23:", desc: "Update release URL for arch-specific packages."}
|
||||
- {date: "20.01.23:", desc: "Update dependencies for v5."}
|
||||
- {date: "10.12.22:", desc: "Bump master JRE to v17. Default mapIpToHost to false."}
|
||||
- {date: "11.09.22:", desc: "Migrate to s6v3."}
|
||||
- {date: "03.05.22:", desc: "Rebase to Jammy."}
|
||||
- {date: "18.04.22:", desc: "Rebase to Alpine 3.15."}
|
||||
- {date: "01.05.20:", desc: "Reorganize container, Relocate app to /app/nzbhydra2/bin, Create /app/nzbhydra2/package_info, Use nzbhydra2wrapperPy3.py from zip."}
|
||||
- {date: "14.04.20:", desc: "Correct Name, Hydra2 -> NZBHydra2."}
|
||||
- {date: "08.01.20:", desc: "Switch to python3."}
|
||||
- {date: "05.01.20:", desc: "Add dev tag for prereleases."}
|
||||
- {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
|
||||
- {date: "11.02.19:", desc: "Add pipeline logic and multi arch."}
|
||||
- {date: "18.08.18:", desc: "Bump java version to 10, (bionic currently refers to it as version 11)."}
|
||||
- {date: "10.08.18:", desc: "Rebase to ubuntu bionic."}
|
||||
- {date: "15.04.18:", desc: "Change to port 5076 in the Dockerfile."}
|
||||
- {date: "11.01.18:", desc: "Initial Release."}
|
||||
|
||||
Regular → Executable
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# make our folders
|
||||
mkdir -p /config/logs
|
||||
|
||||
|
||||
# permissions
|
||||
chmod +x /app/nzbhydra2/bin/nzbhydra2
|
||||
chown -R abc:abc /config
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# make our folders
|
||||
mkdir -p /config/logs
|
||||
|
||||
if [[ ! -f /config/nzbhydra.yml ]]; then
|
||||
cp /defaults/nzbhydra.yml /config/nzbhydra.yml
|
||||
fi
|
||||
|
||||
# permissions
|
||||
lsiown -R abc:abc \
|
||||
/config
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-nzbhydra2-config/run
|
||||
@@ -0,0 +1 @@
|
||||
3
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# unset unraid specific ENV to avoid crashing
|
||||
unset HOST_OS
|
||||
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5076" \
|
||||
cd /app/nzbhydra2 s6-setuidgid abc /usr/bin/python3 nzbhydra2wrapperPy3.py --nobrowser --datafolder /config
|
||||
@@ -0,0 +1 @@
|
||||
longrun
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# unset unraid specific ENV to avoid crashing
|
||||
unset HOST_OS
|
||||
|
||||
cd /app/nzbhydra2/bin || exit
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /usr/bin/python3 nzbhydra2wrapperPy3.py \
|
||||
--nobrowser --datafolder /config
|
||||
Reference in New Issue
Block a user