mirror of
https://github.com/linuxserver/docker-prowlarr.git
synced 2025-04-23 13:27:12 -04:00
Compare commits
199 commits
nightly-0.
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
50cf145deb | ||
|
b47430409c | ||
|
a3224c4e5a | ||
|
a72070c6a7 | ||
|
b51495370f | ||
|
0c1e952959 | ||
|
de7c74689c | ||
|
17faa4ff67 | ||
|
e9d6376978 | ||
|
1f5f360e71 | ||
|
bcdb45dcc6 | ||
|
1f1761a667 | ||
|
583bbfac9d | ||
|
ed852c57eb | ||
|
95f4105547 | ||
|
5223bad6fc | ||
|
bfebe08279 | ||
|
c19afd45da | ||
|
8e6e1bc606 | ||
|
4e2bfc154d | ||
|
9fea0d2aca | ||
|
25897e407d | ||
|
9b501edf6b | ||
|
166747ae50 | ||
|
1b020e940c | ||
|
7543d440df | ||
|
e1ed911ab5 | ||
|
48ca8247b3 | ||
|
0098ce9358 | ||
|
e239a7ee6d | ||
|
cee73729aa | ||
|
748531c3b4 | ||
|
b04c068779 | ||
|
1c17bec270 | ||
|
f8ce8f6ca6 | ||
|
226ee9ff60 | ||
|
b055052e2d | ||
|
d88395a546 | ||
|
7cbbd2f4c3 | ||
|
8bf40a81da | ||
|
d0ba30f86c | ||
|
dd914477e9 | ||
|
67edf4cf5a | ||
|
6b873644c2 | ||
|
04363ca967 | ||
|
f259715b32 | ||
|
0aabeec85d | ||
|
2b1a44501d | ||
|
825df237f2 | ||
|
816f2db80d | ||
|
c52c0a4b48 | ||
|
1c9908b74e | ||
|
d19ef6c9b8 | ||
|
b1ffeca729 | ||
|
94c6ca22f4 | ||
|
2c2a6d2367 | ||
|
1c205c1da6 | ||
|
78bdf3300b | ||
|
55ec344b47 | ||
|
a92ee4c645 | ||
|
46a870db49 | ||
|
2db4cd3f38 | ||
|
9e71df18a2 | ||
|
fd5f7a4dab | ||
|
7a7b7e4544 | ||
|
7e31ae474c | ||
|
9dec52e178 | ||
|
c48eef1549 | ||
|
27b64204b4 | ||
|
3fa75e0cd4 | ||
|
6ab0f12047 | ||
|
2ca5b5f081 | ||
|
253f6cd3e4 | ||
|
31463bcf64 | ||
|
07847c4ed3 | ||
|
ce935bc242 | ||
|
4c050b1867 | ||
|
f77f3441f1 | ||
|
1b361cb7b6 | ||
|
414be5de91 | ||
|
d7f5327108 | ||
|
0af2e72749 | ||
|
f7442bfb03 | ||
|
91255ee3e4 | ||
|
8d89fed700 | ||
|
8fd5b5469b | ||
|
46707872cd | ||
|
6f4b0b3e7c | ||
|
d231b6bd6f | ||
|
d99f05f7ff | ||
|
0319843a22 | ||
|
ba12e50438 | ||
|
31003cf440 | ||
|
5609574ef7 | ||
|
026e86b984 | ||
|
d2cc77ec5a | ||
|
4f1876939d | ||
|
fba8199702 | ||
|
15361ea926 | ||
|
f4c8418587 | ||
|
b5e8045146 | ||
|
232fbefe5c | ||
|
ba781a7848 | ||
|
2ed157e74e | ||
|
a7b6acd29f | ||
|
46de7e8a13 | ||
|
bdd846f668 | ||
|
89932e31d6 | ||
|
23fc1576ab | ||
|
da99190790 | ||
|
53db731f8a | ||
|
184baa0c64 | ||
|
965079c5a8 | ||
|
f6467f9a96 | ||
|
aa9f3d7322 | ||
|
821acbb13d | ||
|
23899209ba | ||
|
e63b8a53e9 | ||
|
a975bd6955 | ||
|
f40fb223dd | ||
|
253ae73329 | ||
|
c3128bc4b9 | ||
|
5cd08981b9 | ||
|
33fe5631a5 | ||
|
1618ab3dbc | ||
|
0ea0b430ab | ||
|
00146f0b1e | ||
|
906d34bfd7 | ||
|
3dfce49ee9 | ||
|
2220ddf7db | ||
|
dafa37335a | ||
|
0b27161691 | ||
|
f3a2039b3f | ||
|
4a37db62b7 | ||
|
0a26be391a | ||
|
08fd750c01 | ||
|
d70e18aafd | ||
|
cad5ce4330 | ||
|
e565bc8b8e | ||
|
fc1b26b1ea | ||
|
90c1087693 | ||
|
55e70fafe1 | ||
|
5d87489772 | ||
|
eab3cc3f6a | ||
|
024e3fc373 | ||
|
d6dbd7a670 | ||
|
e497d7b7dc | ||
|
904ee465c6 | ||
|
acc6d8cc0c | ||
|
9e3152839b | ||
|
98d37c9da7 | ||
|
915023a4f8 | ||
|
88e18ee8bd | ||
|
08963632f4 | ||
|
670d18dd22 | ||
|
4cca0b0f0b | ||
|
de1af557f1 | ||
|
6ddb93de09 | ||
|
5ef6164912 | ||
|
caa042846a | ||
|
1cf3f5b432 | ||
|
d179d824e5 | ||
|
a6b07547f2 | ||
|
c3f79c294b | ||
|
c443f637ed | ||
|
39772b0a41 | ||
|
b7b2975c0d | ||
|
fcfba08e2e | ||
|
d765dc7121 | ||
|
564b0aee3b | ||
|
b76651c824 | ||
|
d4f902e2e8 | ||
|
2b514fbb35 | ||
|
169a7ee007 | ||
|
0780684e60 | ||
|
99f542e36b | ||
|
7690b5cb17 | ||
|
8851cf3a8b | ||
|
5eab9e7ba8 | ||
|
0c774f1380 | ||
|
89e85f70e5 | ||
|
09309c2cd5 | ||
|
f17fe29202 | ||
|
707bf08141 | ||
|
8c73f23421 | ||
|
ea1c38f573 | ||
|
0f81fc7763 | ||
|
8e5d232ccf | ||
|
c3687f6ce4 | ||
|
2bd5de0fd7 | ||
|
bd073d88c0 | ||
|
d08c5ab11b | ||
|
c5243e7e6c | ||
|
caab084d01 | ||
|
d47a59aefc | ||
|
d182524be4 | ||
|
efe5d18fc6 | ||
|
af27074c03 | ||
|
2dfbc96ab8 |
41 changed files with 1487 additions and 892 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
# This file is globally distributed to all container image projects from
|
||||
# https://github.com/linuxserver/docker-jenkins-builder/blob/master/.editorconfig
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
# trim_trailing_whitespace may cause unintended issues and should not be globally set true
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[{Dockerfile*,**.yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
12
.github/CONTRIBUTING.md
vendored
12
.github/CONTRIBUTING.md
vendored
|
@ -4,9 +4,9 @@
|
|||
|
||||
* While contributing make sure to make all your changes before creating a Pull Request, as our pipeline builds each commit after the PR is open.
|
||||
* Read, and fill the Pull Request template
|
||||
* If this is a fix for a typo in code or documentation in the README please file an issue
|
||||
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
|
||||
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
|
||||
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://discord.gg/YWrKVTn)
|
||||
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://linuxserver.io/discord)
|
||||
|
||||
## Common files
|
||||
|
||||
|
@ -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-prowlarr/edit/nightly/readme-vars.yml).
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-prowlarr/edit/main/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-prowlarr)
|
||||
|
@ -105,17 +105,17 @@ docker build \
|
|||
-t linuxserver/prowlarr:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
||||
```
|
||||
|
||||
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-prowlarr/tree/nightly/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-prowlarr/tree/main/root), add an entry to the changelog
|
||||
|
||||
```yml
|
||||
changelogs:
|
||||
|
|
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discord chat support
|
||||
url: https://discord.gg/YWrKVTn
|
||||
url: https://linuxserver.io/discord
|
||||
about: Realtime support / chat with the community and the team.
|
||||
|
||||
- name: Discourse discussion forum
|
||||
|
|
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
40
.github/ISSUE_TEMPLATE/issue.bug.md
vendored
|
@ -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 prowlarr" -->
|
76
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Normal file
76
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Normal file
|
@ -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 prowlarr"
|
||||
label: Container logs
|
||||
placeholder: |
|
||||
Output of `docker logs prowlarr`
|
||||
render: bash
|
||||
validations:
|
||||
required: true
|
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
25
.github/ISSUE_TEMPLATE/issue.feature.md
vendored
|
@ -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 -->
|
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Normal file
31
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Normal file
|
@ -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
|
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -6,7 +6,7 @@
|
|||
|
||||
<!--- Before submitting a pull request please check the following -->
|
||||
|
||||
<!--- If this is a fix for a typo in code or documentation in the README please file an issue and let us sort it out we do not need a PR -->
|
||||
<!--- If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR -->
|
||||
<!--- 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/ -->
|
||||
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
|
||||
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
------------------------------
|
||||
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-prowlarr/blob/nightly/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-prowlarr/blob/main/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
|
||||
------------------------------
|
||||
|
||||
|
|
16
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file
16
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file
|
@ -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
|
13
.github/workflows/call_issues_cron.yml
vendored
Executable file
13
.github/workflows/call_issues_cron.yml
vendored
Executable file
|
@ -0,0 +1,13 @@
|
|||
name: Mark stale issues and pull requests
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 14 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1
|
||||
secrets: inherit
|
152
.github/workflows/external_trigger.yml
vendored
152
.github/workflows/external_trigger.yml
vendored
|
@ -4,24 +4,39 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
external-trigger-nightly:
|
||||
external-trigger-main:
|
||||
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/nightly'
|
||||
if: github.ref == 'refs/heads/main'
|
||||
env:
|
||||
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
|
||||
run: |
|
||||
if [ -n "${{ secrets.PAUSE_EXTERNAL_TRIGGER_PROWLARR_NIGHTLY }}" ]; then
|
||||
echo "**** Github secret PAUSE_EXTERNAL_TRIGGER_PROWLARR_NIGHTLY is set; skipping trigger. ****"
|
||||
printf "# External trigger for docker-prowlarr\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
if grep -q "^prowlarr_main_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`prowlarr_main_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
|
||||
elif grep -q "^prowlarr_main" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`prowlarr_main\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> External trigger running off of main branch. To disable this trigger, add \`prowlarr_main\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
|
||||
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
EXT_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/master/changes?runtime=netcore&os=linuxmusl" | jq -r '.[0].version')
|
||||
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
|
||||
if grep -q "^prowlarr_main_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
fi
|
||||
echo "**** External trigger running off of nightly branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_PROWLARR_NIGHTLY\". ****"
|
||||
echo "**** Retrieving external version ****"
|
||||
EXT_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/nightly/changes?runtime=netcore&os=linux" | jq -r '.[0].version')
|
||||
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
|
||||
echo "**** Can't retrieve external version, exiting ****"
|
||||
FAILURE_REASON="Can't retrieve external version for prowlarr branch nightly"
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Can't retrieve external version, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="Can't retrieve external version for prowlarr branch main"
|
||||
GHA_TRIGGER_URL="https://github.com/linuxserver/docker-prowlarr/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"}],
|
||||
|
@ -29,64 +44,101 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
EXT_RELEASE=$(echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g')
|
||||
echo "**** External version: ${EXT_RELEASE} ****"
|
||||
echo "**** Retrieving last pushed version ****"
|
||||
echo "External version: \`${EXT_RELEASE}\`" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Retrieving last pushed version" >> $GITHUB_STEP_SUMMARY
|
||||
image="linuxserver/prowlarr"
|
||||
tag="nightly"
|
||||
tag="latest"
|
||||
token=$(curl -sX GET \
|
||||
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fprowlarr%3Apull" \
|
||||
| jq -r '.token')
|
||||
multidigest=$(curl -s \
|
||||
multidigest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Accept: application/vnd.oci.image.index.v1+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}")
|
||||
if jq -e '.layers // empty' <<< "${multidigest}" >/dev/null 2>&1; then
|
||||
# If there's a layer element it's a single-arch manifest so just get that digest
|
||||
digest=$(jq -r '.config.digest' <<< "${multidigest}")
|
||||
else
|
||||
# Otherwise it's multi-arch or has manifest annotations
|
||||
if jq -e '.manifests[]?.annotations // empty' <<< "${multidigest}" >/dev/null 2>&1; then
|
||||
# Check for manifest annotations and delete if found
|
||||
multidigest=$(jq 'del(.manifests[] | select(.annotations))' <<< "${multidigest}")
|
||||
fi
|
||||
if [[ $(jq '.manifests | length' <<< "${multidigest}") -gt 1 ]]; then
|
||||
# If there's still more than one digest, it's multi-arch
|
||||
multidigest=$(jq -r ".manifests[] | select(.platform.architecture == \"amd64\").digest?" <<< "${multidigest}")
|
||||
else
|
||||
# Otherwise it's single arch
|
||||
multidigest=$(jq -r ".manifests[].digest?" <<< "${multidigest}")
|
||||
fi
|
||||
if digest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Accept: application/vnd.oci.image.manifest.v1+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r 'first(.manifests[].digest)')
|
||||
digest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
|
||||
| jq -r '.config.digest')
|
||||
"https://ghcr.io/v2/${image}/manifests/${multidigest}"); then
|
||||
digest=$(jq -r '.config.digest' <<< "${digest}");
|
||||
fi
|
||||
fi
|
||||
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 prowlarr tag nightly"
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Can't retrieve last pushed version, exiting" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="Can't retrieve last pushed version for prowlarr 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-prowlarr/job/nightly/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 ****"
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/main/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" >> $GITHUB_STEP_SUMMARY
|
||||
exit 0
|
||||
else
|
||||
echo "**** New version ${EXT_RELEASE} found; old version was ${IMAGE_VERSION}. Triggering new build ****"
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/nightly/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 ****"
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "**** Jenkins job build url: ${buildurl} ****"
|
||||
echo "**** Attempting to change the Jenkins job description ****"
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--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 prowlarr tag nightly. 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 }}
|
||||
if [[ "${artifacts_found}" == "false" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> New version detected, but not all artifacts are published yet; skipping trigger" >> $GITHUB_STEP_SUMMARY
|
||||
FAILURE_REASON="New version ${EXT_RELEASE} for prowlarr tag latest is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
else
|
||||
printf "\n## Trigger new build\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
echo "New version \`${EXT_RELEASE}\` found; old version was \`${IMAGE_VERSION}\`. Triggering new build" >> $GITHUB_STEP_SUMMARY
|
||||
if [[ "${artifacts_found}" == "true" ]]; then
|
||||
echo "All artifacts seem to be uploaded." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/main/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'})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--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 prowlarr 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 }}
|
||||
fi
|
||||
fi
|
||||
|
|
34
.github/workflows/external_trigger_scheduler.yml
vendored
34
.github/workflows/external_trigger_scheduler.yml
vendored
|
@ -2,42 +2,44 @@ name: External Trigger Scheduler
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '11 * * * *'
|
||||
- cron: '5 * * * *'
|
||||
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'
|
||||
|
||||
- name: External Trigger Scheduler
|
||||
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)
|
||||
printf "# External trigger scheduler for docker-prowlarr\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
|
||||
for br in $(git for-each-ref --format='%(refname:lstrip=3)' 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-prowlarr/${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. ****"
|
||||
if [[ "${br}" == "HEAD" ]]; then
|
||||
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
continue
|
||||
fi
|
||||
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
ls_jenkins_vars=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${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 appears to be live and trigger is not os; checking workflow." >> $GITHUB_STEP_SUMMARY
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${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." >> $GITHUB_STEP_SUMMARY
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-d "{\"ref\":\"refs/heads/${br}\"}" \
|
||||
https://api.github.com/repos/linuxserver/docker-prowlarr/actions/workflows/external_trigger.yml/dispatches
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "Skipping branch due to no external trigger workflow present." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
else
|
||||
echo "**** ${br} appears to be a dev branch; skipping trigger. ****"
|
||||
echo "Skipping branch due to being detected as dev branch or having no external version." >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
done
|
||||
|
|
4
.github/workflows/greetings.yml
vendored
4
.github/workflows/greetings.yml
vendored
|
@ -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-prowlarr/blob/nightly/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-prowlarr/blob/nightly/.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-prowlarr/blob/nightly/.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-prowlarr/blob/main/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
38
.github/workflows/package_trigger.yml
vendored
38
.github/workflows/package_trigger.yml
vendored
|
@ -1,38 +0,0 @@
|
|||
name: Package Trigger Main
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package-trigger-nightly:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.3
|
||||
|
||||
- name: Package Trigger
|
||||
if: github.ref == 'refs/heads/nightly'
|
||||
run: |
|
||||
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_PROWLARR_NIGHTLY }}" ]; then
|
||||
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_PROWLARR_NIGHTLY is set; skipping trigger. ****"
|
||||
exit 0
|
||||
fi
|
||||
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/nightly/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
|
||||
exit 0
|
||||
fi
|
||||
echo "**** Package trigger running off of nightly branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_PROWLARR_NIGHTLY\". ****"
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/nightly/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 ****"
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "**** Jenkins job build url: ${buildurl} ****"
|
||||
echo "**** Attempting to change the Jenkins job description ****"
|
||||
curl -iX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"
|
108
.github/workflows/package_trigger_scheduler.yml
vendored
108
.github/workflows/package_trigger_scheduler.yml
vendored
|
@ -2,49 +2,99 @@ name: Package Trigger Scheduler
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '52 15 * * 5'
|
||||
- cron: '35 3 * * 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'
|
||||
|
||||
- name: Package Trigger Scheduler
|
||||
env:
|
||||
SKIP_PACKAGE_TRIGGER: ${{ vars.SKIP_PACKAGE_TRIGGER }}
|
||||
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)
|
||||
printf "# Package trigger scheduler for docker-prowlarr\n\n" >> $GITHUB_STEP_SUMMARY
|
||||
printf "Found the branches:\n\n%s\n" "$(git for-each-ref --format='- %(refname:lstrip=3)' refs/remotes)" >> $GITHUB_STEP_SUMMARY
|
||||
for br in $(git for-each-ref --format='%(refname:lstrip=3)' 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-prowlarr/${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. ****"
|
||||
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
|
||||
echo "**** Workflow exists. Triggering package trigger workflow for branch ${br}. ****"
|
||||
triggered_branches="${triggered_branches}${br} "
|
||||
curl -iX POST \
|
||||
-H "Authorization: token ${{ secrets.CR_PAT }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
-d "{\"ref\":\"refs/heads/${br}\"}" \
|
||||
https://api.github.com/repos/linuxserver/docker-prowlarr/actions/workflows/package_trigger.yml/dispatches
|
||||
sleep 30
|
||||
if [[ "${br}" == "HEAD" ]]; then
|
||||
printf "\nSkipping %s.\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
continue
|
||||
fi
|
||||
printf "\n## Evaluating \`%s\`\n\n" ${br} >> $GITHUB_STEP_SUMMARY
|
||||
JENKINS_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${br}/jenkins-vars.yml)
|
||||
if ! curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${br}/Jenkinsfile >/dev/null 2>&1; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> No Jenkinsfile found. Branch is either deprecated or is an early dev branch." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
|
||||
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
|
||||
README_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-prowlarr/${br}/readme-vars.yml)
|
||||
if [[ $(yq -r '.project_deprecation_status' <<< "${README_VARS}") == "true" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Branch appears to be deprecated; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [[ $(yq -r '.skip_package_check' <<< "${JENKINS_VARS}") == "true" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Skipping branch ${br} due to \`skip_package_check\` being set in \`jenkins-vars.yml\`." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif grep -q "^prowlarr_${br}" <<< "${SKIP_PACKAGE_TRIGGER}"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Github organizational variable \`SKIP_PACKAGE_TRIGGER\` contains \`prowlarr_${br}\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/${br}/lastBuild/api/json | jq -r '.building' 2>/dev/null) == "true" ]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> There already seems to be an active build on Jenkins; skipping package trigger for ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
skipped_branches="${skipped_branches}${br} "
|
||||
else
|
||||
echo "**** Workflow doesn't exist; skipping trigger. ****"
|
||||
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Triggering package trigger for branch ${br}" >> $GITHUB_STEP_SUMMARY
|
||||
printf "> To disable, add \`prowlarr_%s\` into the Github organizational variable \`SKIP_PACKAGE_TRIGGER\`.\n\n" "${br}" >> $GITHUB_STEP_SUMMARY
|
||||
triggered_branches="${triggered_branches}${br} "
|
||||
response=$(curl -iX POST \
|
||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/${br}/buildWithParameters?PACKAGE_CHECK=true \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||
if [[ -z "${response}" ]]; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Jenkins build could not be triggered. Skipping branch."
|
||||
continue
|
||||
fi
|
||||
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
|
||||
sleep 10
|
||||
buildurl=$(curl -s "${response%$'\r'}api/json" | jq -r '.executable.url')
|
||||
buildurl="${buildurl%$'\r'}"
|
||||
echo "Jenkins job [build url](${buildurl})" >> $GITHUB_STEP_SUMMARY
|
||||
echo "Attempting to change the Jenkins job description" >> $GITHUB_STEP_SUMMARY
|
||||
if ! curl -ifX POST \
|
||||
"${buildurl}submitDescription" \
|
||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} \
|
||||
--data-urlencode "description=GHA package trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
|
||||
--data-urlencode "Submit=Submit"; then
|
||||
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
|
||||
echo "> Unable to change the Jenkins job description."
|
||||
fi
|
||||
sleep 20
|
||||
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} ****"
|
||||
echo "**** Notifying Discord ****"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Package Check Build(s) Triggered for prowlarr** \n**Branch(es):** '"${triggered_branches}"' \n**Build URL:** '"https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-prowlarr/activity/"' \n"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
if [[ -n "${triggered_branches}" ]] || [[ -n "${skipped_branches}" ]]; then
|
||||
if [[ -n "${triggered_branches}" ]]; then
|
||||
NOTIFY_BRANCHES="**Triggered:** ${triggered_branches} \n"
|
||||
NOTIFY_BUILD_URL="**Build URL:** https://ci.linuxserver.io/blue/organizations/jenkins/Docker-Pipeline-Builders%2Fdocker-prowlarr/activity/ \n"
|
||||
echo "**** Package check build(s) triggered for branch(es): ${triggered_branches} ****"
|
||||
fi
|
||||
if [[ -n "${skipped_branches}" ]]; then
|
||||
NOTIFY_BRANCHES="${NOTIFY_BRANCHES}**Skipped:** ${skipped_branches} \n"
|
||||
fi
|
||||
echo "**** Notifying Discord ****"
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||
"description": "**Package Check Build(s) for prowlarr** \n'"${NOTIFY_BRANCHES}"''"${NOTIFY_BUILD_URL}"'"}],
|
||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||
fi
|
||||
|
|
12
.github/workflows/permissions.yml
vendored
Executable file
12
.github/workflows/permissions.yml
vendored
Executable file
|
@ -0,0 +1,12 @@
|
|||
name: Permission check
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '**/run'
|
||||
- '**/finish'
|
||||
- '**/check'
|
||||
- 'root/migrations/*'
|
||||
|
||||
jobs:
|
||||
permission_check:
|
||||
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
|
23
.github/workflows/stale.yml
vendored
23
.github/workflows/stale.yml
vendored
|
@ -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@v1
|
||||
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 }}
|
36
Dockerfile
Normal file → Executable file
36
Dockerfile
Normal file → Executable file
|
@ -1,42 +1,44 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG PROWLARR_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="Roxedus"
|
||||
LABEL maintainer="Roxedus,thespad"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ARG PROWLARR_BRANCH="nightly"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
ARG PROWLARR_BRANCH="master"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg" \
|
||||
COMPlus_EnableDiagnostics=0 \
|
||||
TMPDIR=/run/prowlarr-temp
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
jq \
|
||||
libicu66 \
|
||||
sqlite3 && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
icu-libs \
|
||||
sqlite-libs \
|
||||
xmlstarlet && \
|
||||
echo "**** install prowlarr ****" && \
|
||||
mkdir -p /app/prowlarr/bin && \
|
||||
if [ -z ${PROWLARR_RELEASE+x} ]; then \
|
||||
PROWLARR_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/changes?runtime=netcore&os=linux" \
|
||||
PROWLARR_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/changes?runtime=netcore&os=linuxmusl" \
|
||||
| jq -r '.[0].version'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/prowlarr.tar.gz -L \
|
||||
"https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/updatefile?version=${PROWLARR_RELEASE}&os=linux&runtime=netcore&arch=x64" && \
|
||||
tar ixzf \
|
||||
"https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/updatefile?version=${PROWLARR_RELEASE}&os=linuxmusl&runtime=netcore&arch=x64" && \
|
||||
tar xzf \
|
||||
/tmp/prowlarr.tar.gz -C \
|
||||
/app/prowlarr/bin --strip-components=1 && \
|
||||
echo "UpdateMethod=docker\nBranch=${PROWLARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/prowlarr/package_info && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${PROWLARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/prowlarr/package_info && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/prowlarr/bin/prowlarr.Update \
|
||||
/app/prowlarr/bin/Prowlarr.Update \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
# copy local files
|
||||
|
@ -44,4 +46,4 @@ COPY root/ /
|
|||
|
||||
# ports and volumes
|
||||
EXPOSE 9696
|
||||
VOLUME /config
|
||||
VOLUME /config
|
||||
|
|
37
Dockerfile.aarch64
Normal file → Executable file
37
Dockerfile.aarch64
Normal file → Executable file
|
@ -1,43 +1,44 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG PROWLARR_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="Roxedus"
|
||||
LABEL maintainer="Roxedus,thespad"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ARG PROWLARR_BRANCH="nightly"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
ARG PROWLARR_BRANCH="master"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg" \
|
||||
COMPlus_EnableDiagnostics=0 \
|
||||
TMPDIR=/run/prowlarr-temp
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
jq \
|
||||
libicu66 \
|
||||
libmediainfo0v5 \
|
||||
sqlite3 && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
icu-libs \
|
||||
sqlite-libs \
|
||||
xmlstarlet && \
|
||||
echo "**** install prowlarr ****" && \
|
||||
mkdir -p /app/prowlarr/bin && \
|
||||
if [ -z ${PROWLARR_RELEASE+x} ]; then \
|
||||
PROWLARR_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/changes?runtime=netcore&os=linux" \
|
||||
PROWLARR_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/changes?runtime=netcore&os=linuxmusl" \
|
||||
| jq -r '.[0].version'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/prowlarr.tar.gz -L \
|
||||
"https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/updatefile?version=${PROWLARR_RELEASE}&os=linux&runtime=netcore&arch=arm64" && \
|
||||
tar ixzf \
|
||||
"https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/updatefile?version=${PROWLARR_RELEASE}&os=linuxmusl&runtime=netcore&arch=arm64" && \
|
||||
tar xzf \
|
||||
/tmp/prowlarr.tar.gz -C \
|
||||
/app/prowlarr/bin --strip-components=1 && \
|
||||
echo "UpdateMethod=docker\nBranch=${PROWLARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/prowlarr/package_info && \
|
||||
echo -e "UpdateMethod=docker\nBranch=${PROWLARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/prowlarr/package_info && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/prowlarr/bin/prowlarr.Update \
|
||||
/app/prowlarr/bin/Prowlarr.Update \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
# copy local files
|
||||
|
@ -45,4 +46,4 @@ COPY root/ /
|
|||
|
||||
# ports and volumes
|
||||
EXPOSE 9696
|
||||
VOLUME /config
|
||||
VOLUME /config
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG PROWLARR_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="Roxedus"
|
||||
|
||||
# environment settings
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
ARG PROWLARR_BRANCH="nightly"
|
||||
ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install --no-install-recommends -y \
|
||||
jq \
|
||||
libicu66 \
|
||||
libmediainfo0v5 \
|
||||
sqlite3 && \
|
||||
echo "**** install prowlarr ****" && \
|
||||
mkdir -p /app/prowlarr/bin && \
|
||||
if [ -z ${PROWLARR_RELEASE+x} ]; then \
|
||||
PROWLARR_RELEASE=$(curl -sL "https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/changes?runtime=netcore&os=linux" \
|
||||
| jq -r '.[0].version'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/prowlarr.tar.gz -L \
|
||||
"https://prowlarr.servarr.com/v1/update/${PROWLARR_BRANCH}/updatefile?version=${PROWLARR_RELEASE}&os=linux&runtime=netcore&arch=arm" && \
|
||||
tar ixzf \
|
||||
/tmp/prowlarr.tar.gz -C \
|
||||
/app/prowlarr/bin --strip-components=1 && \
|
||||
echo "UpdateMethod=docker\nBranch=${PROWLARR_BRANCH}\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://www.linuxserver.io/)" > /app/prowlarr/package_info && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/prowlarr/bin/prowlarr.Update \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 9696
|
||||
VOLUME /config
|
957
Jenkinsfile
vendored
Normal file → Executable file
957
Jenkinsfile
vendored
Normal file → Executable file
File diff suppressed because it is too large
Load diff
0
LICENSE
Normal file → Executable file
0
LICENSE
Normal file → Executable file
216
README.md
Executable file → Normal file
216
README.md
Executable file → Normal file
|
@ -1,10 +1,9 @@
|
|||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read the https://github.com/linuxserver/docker-prowlarr/blob/nightly/.github/CONTRIBUTING.md -->
|
||||
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read https://github.com/linuxserver/docker-prowlarr/blob/main/.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!")
|
||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||
[](https://linuxserver.io/discord "realtime support / chat with the community and the team.")
|
||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||
|
@ -21,7 +20,7 @@ The [LinuxServer.io](https://linuxserver.io) team brings you another container r
|
|||
Find us at:
|
||||
|
||||
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
|
||||
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
|
||||
* [Discord](https://linuxserver.io/discord) - realtime support / chat with the community and the team.
|
||||
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
||||
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
|
||||
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
|
||||
|
@ -29,14 +28,15 @@ Find us at:
|
|||
|
||||
# [linuxserver/prowlarr](https://github.com/linuxserver/docker-prowlarr)
|
||||
|
||||
[](https://scarf.sh)
|
||||
[](https://github.com/linuxserver/docker-prowlarr)
|
||||
[](https://github.com/linuxserver/docker-prowlarr/releases)
|
||||
[](https://github.com/linuxserver/docker-prowlarr/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-prowlarr/container_registry)
|
||||
[](https://microbadger.com/images/linuxserver/prowlarr "Get your own version badge on microbadger.com")
|
||||
[](https://quay.io/repository/linuxserver.io/prowlarr)
|
||||
[](https://hub.docker.com/r/linuxserver/prowlarr)
|
||||
[](https://hub.docker.com/r/linuxserver/prowlarr)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/nightly/)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-prowlarr/job/main/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/prowlarr/latest/index.html)
|
||||
|
||||
[Prowlarr](https://github.com/Prowlarr/Prowlarr) is a indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Sonarr, Radarr, Lidarr, and Readarr offering complete management of your indexers with no per app Indexer setup required (we do it all).
|
||||
|
@ -45,26 +45,27 @@ Find us at:
|
|||
|
||||
## 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 `ghcr.io/linuxserver/prowlarr` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `lscr.io/linuxserver/prowlarr: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 |
|
||||
| :----: | --- |
|
||||
| develop | Prowlarr releases from their develop branch |
|
||||
| nightly | Prowlarr releases from their nightly branch |
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Prowlarr stable releases |
|
||||
| develop | ✅ | Prowlarr releases from their develop branch |
|
||||
| nightly | ✅ | Prowlarr releases from their nightly branch |
|
||||
|
||||
## Application Setup
|
||||
|
||||
|
@ -72,57 +73,67 @@ Access the webui at `<your-ip>:9696`, for more information check out [Prowlarr](
|
|||
|
||||
Setup info can be found [here](https://wikijs.servarr.com/prowlarr/quick-start-guide).
|
||||
|
||||
## Read-Only Operation
|
||||
|
||||
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
||||
|
||||
## Non-Root Operation
|
||||
|
||||
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
|
||||
|
||||
## 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](https://docs.linuxserver.io/general/docker-compose))
|
||||
>[!NOTE]
|
||||
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
|
||||
|
||||
Compatible with docker-compose v2 schemas.
|
||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
prowlarr:
|
||||
image: ghcr.io/linuxserver/prowlarr
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
container_name: prowlarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- /path/to/data:/config
|
||||
- /path/to/prowlarr/data:/config
|
||||
ports:
|
||||
- 9696:9696
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
### docker cli
|
||||
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=prowlarr \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e TZ=Etc/UTC \
|
||||
-p 9696:9696 \
|
||||
-v /path/to/data:/config \
|
||||
-v /path/to/prowlarr/data:/config \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/linuxserver/prowlarr
|
||||
lscr.io/linuxserver/prowlarr: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 9696` | The port for the Prowlarr webinterface |
|
||||
| `-p 9696:9696` | The port for the Prowlarr web UI |
|
||||
| `-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, this is required for Prowlarr |
|
||||
| `-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` | Database and Prowlarr configs |
|
||||
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
|
@ -131,10 +142,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
|
||||
|
||||
|
@ -143,15 +154,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
|
||||
|
@ -162,53 +178,101 @@ We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to
|
|||
|
||||
## Support Info
|
||||
|
||||
* Shell access whilst the container is running: `docker exec -it prowlarr /bin/bash`
|
||||
* To monitor the logs of the container in realtime: `docker logs -f prowlarr`
|
||||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' prowlarr`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ghcr.io/linuxserver/prowlarr`
|
||||
* Shell access whilst the container is running:
|
||||
|
||||
```bash
|
||||
docker exec -it prowlarr /bin/bash
|
||||
```
|
||||
|
||||
* To monitor the logs of the container in realtime:
|
||||
|
||||
```bash
|
||||
docker logs -f prowlarr
|
||||
```
|
||||
|
||||
* Container version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' prowlarr
|
||||
```
|
||||
|
||||
* Image version number:
|
||||
|
||||
```bash
|
||||
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/prowlarr: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 prowlarr`
|
||||
* Let compose update all containers as necessary: `docker-compose up -d`
|
||||
* or update a single container: `docker-compose up -d prowlarr`
|
||||
* 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 prowlarr
|
||||
```
|
||||
|
||||
* Update containers:
|
||||
* All containers:
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
* Single container:
|
||||
|
||||
```bash
|
||||
docker-compose up -d prowlarr
|
||||
```
|
||||
|
||||
* You can also remove the old dangling images:
|
||||
|
||||
```bash
|
||||
docker image prune
|
||||
```
|
||||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull ghcr.io/linuxserver/prowlarr`
|
||||
* Stop the running container: `docker stop prowlarr`
|
||||
* Delete the container: `docker rm prowlarr`
|
||||
* Update the image:
|
||||
|
||||
```bash
|
||||
docker pull lscr.io/linuxserver/prowlarr:latest
|
||||
```
|
||||
|
||||
* Stop the running container:
|
||||
|
||||
```bash
|
||||
docker stop prowlarr
|
||||
```
|
||||
|
||||
* Delete the container:
|
||||
|
||||
```bash
|
||||
docker rm prowlarr
|
||||
```
|
||||
|
||||
* 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 prowlarr
|
||||
```
|
||||
|
||||
* 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
|
||||
|
||||
|
@ -220,17 +284,23 @@ cd docker-prowlarr
|
|||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t ghcr.io/linuxserver/prowlarr:latest .
|
||||
-t lscr.io/linuxserver/prowlarr:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
||||
```
|
||||
|
||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
||||
|
||||
## Versions
|
||||
|
||||
* **23.12.24:** - Rebase Alpine 3.21.
|
||||
* **31.05.24:** - Rebase Alpine 3.20.
|
||||
* **20.03.24:** - Rebase to Alpine 3.19.
|
||||
* **06.06.23:** - Rebase master to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf).
|
||||
* **03.01.23:** - Publish stable release.
|
||||
* **20.02.22:** - Rebase develop branch to Alpine.
|
||||
* **06.06.21:** - Initial realease.
|
||||
|
|
18
jenkins-vars.yml
Normal file → Executable file
18
jenkins-vars.yml
Normal file → Executable file
|
@ -2,10 +2,10 @@
|
|||
# jenkins variables
|
||||
project_name: docker-prowlarr
|
||||
external_type: na
|
||||
custom_version_command: curl -sL "https://prowlarr.servarr.com/v1/update/nightly/changes?runtime=netcore&os=linux" | jq -r '.[0].version'
|
||||
release_type: prerelease
|
||||
release_tag: nightly
|
||||
ls_branch: nightly
|
||||
custom_version_command: curl -sL "https://prowlarr.servarr.com/v1/update/master/changes?runtime=netcore&os=linuxmusl" | jq -r '.[0].version'
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: main
|
||||
repo_vars:
|
||||
- BUILD_VERSION_ARG = 'PROWLARR_RELEASE'
|
||||
- LS_USER = 'linuxserver'
|
||||
|
@ -14,15 +14,15 @@ repo_vars:
|
|||
- DOCKERHUB_IMAGE = 'linuxserver/prowlarr'
|
||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/prowlarr'
|
||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/prowlarr'
|
||||
- DIST_IMAGE = 'ubuntu'
|
||||
- DIST_IMAGE = 'alpine'
|
||||
- MULTIARCH='true'
|
||||
- CI='true'
|
||||
- CI_WEB='true'
|
||||
- CI_PORT='9696'
|
||||
- CI_SSL='false'
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
- CI_AUTH='user:password'
|
||||
- CI_WEBPATH=''
|
||||
- CI_DELAY='240'
|
||||
- CI_DOCKERENV=''
|
||||
- CI_AUTH=''
|
||||
- CI_WEBPATH='/system/status'
|
||||
sponsor_links:
|
||||
- { name: "Prowlarr", url: "https://opencollective.com/prowlarr" }
|
||||
|
|
|
@ -1,148 +1,180 @@
|
|||
adduser3.118ubuntu2
|
||||
apt2.0.5
|
||||
apt-utils2.0.5
|
||||
base-files11ubuntu5.3
|
||||
base-passwd3.5.47
|
||||
bash5.0-6ubuntu1.1
|
||||
bsdutils1:2.34-0.1ubuntu9.1
|
||||
bzip21.0.8-2
|
||||
ca-certificates20210119~20.04.1
|
||||
coreutils8.30-3ubuntu2
|
||||
curl7.68.0-1ubuntu2.5
|
||||
dash0.5.10.2-6
|
||||
debconf1.5.73
|
||||
debianutils4.9.1
|
||||
diffutils1:3.7-3
|
||||
dirmngr2.2.19-3ubuntu2.1
|
||||
dpkg1.19.7ubuntu3
|
||||
e2fsprogs1.45.5-2ubuntu1
|
||||
fdisk2.34-0.1ubuntu9.1
|
||||
findutils4.7.0-1ubuntu1
|
||||
gcc-10-base10.2.0-5ubuntu1~20.04
|
||||
gnupg2.2.19-3ubuntu2.1
|
||||
gnupg-l10n2.2.19-3ubuntu2.1
|
||||
gnupg-utils2.2.19-3ubuntu2.1
|
||||
gpg2.2.19-3ubuntu2.1
|
||||
gpg-agent2.2.19-3ubuntu2.1
|
||||
gpgconf2.2.19-3ubuntu2.1
|
||||
gpgsm2.2.19-3ubuntu2.1
|
||||
gpgv2.2.19-3ubuntu2.1
|
||||
gpg-wks-client2.2.19-3ubuntu2.1
|
||||
gpg-wks-server2.2.19-3ubuntu2.1
|
||||
grep3.4-1
|
||||
gzip1.10-0ubuntu4
|
||||
hostname3.23
|
||||
init-system-helpers1.57
|
||||
jq1.6-1ubuntu0.20.04.1
|
||||
krb5-locales1.17-6ubuntu4.1
|
||||
libacl12.2.53-6
|
||||
libapt-pkg6.02.0.5
|
||||
libasn1-8-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libassuan02.5.3-7ubuntu2
|
||||
libattr11:2.4.48-5
|
||||
libaudit11:2.8.5-2ubuntu6
|
||||
libaudit-common1:2.8.5-2ubuntu6
|
||||
libblkid12.34-0.1ubuntu9.1
|
||||
libbrotli11.0.7-6ubuntu0.1
|
||||
libbz2-1.01.0.8-2
|
||||
libc62.31-0ubuntu9.2
|
||||
libcap-ng00.7.9-2.1build1
|
||||
libc-bin2.31-0ubuntu9.2
|
||||
libcom-err21.45.5-2ubuntu1
|
||||
libcrypt11:4.4.10-10ubuntu4
|
||||
libcurl47.68.0-1ubuntu2.5
|
||||
libdb5.35.3.28+dfsg1-0.6ubuntu2
|
||||
libdebconfclient00.251ubuntu1
|
||||
libext2fs21.45.5-2ubuntu1
|
||||
libfdisk12.34-0.1ubuntu9.1
|
||||
libffi73.3-4
|
||||
libgcc-s110.2.0-5ubuntu1~20.04
|
||||
libgcrypt201.8.5-5ubuntu1
|
||||
libgmp102:6.2.0+dfsg-4
|
||||
libgnutls303.6.13-2ubuntu1.3
|
||||
libgpg-error01.37-1
|
||||
libgssapi3-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libgssapi-krb5-21.17-6ubuntu4.1
|
||||
libhcrypto4-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libheimbase1-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libheimntlm0-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libhogweed53.5.1+really3.5.1-2ubuntu0.1
|
||||
libhx509-5-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libicu6666.1-2ubuntu2
|
||||
libidn2-02.2.0-2
|
||||
libjq11.6-1ubuntu0.20.04.1
|
||||
libk5crypto31.17-6ubuntu4.1
|
||||
libkeyutils11.6-6ubuntu1
|
||||
libkrb5-26-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libkrb5-31.17-6ubuntu4.1
|
||||
libkrb5support01.17-6ubuntu4.1
|
||||
libksba81.3.5-2
|
||||
libldap-2.4-22.4.49+dfsg-2ubuntu1.8
|
||||
libldap-common2.4.49+dfsg-2ubuntu1.8
|
||||
liblz4-11.9.2-2ubuntu0.20.04.1
|
||||
liblzma55.2.4-1ubuntu1
|
||||
libmount12.34-0.1ubuntu9.1
|
||||
libncurses66.2-0ubuntu2
|
||||
libncursesw66.2-0ubuntu2
|
||||
libnettle73.5.1+really3.5.1-2ubuntu0.1
|
||||
libnghttp2-141.40.0-1build1
|
||||
libnpth01.6-1
|
||||
libonig56.9.4-1
|
||||
libp11-kit00.23.20-1ubuntu0.1
|
||||
libpam0g1.3.1-5ubuntu4.2
|
||||
libpam-modules1.3.1-5ubuntu4.2
|
||||
libpam-modules-bin1.3.1-5ubuntu4.2
|
||||
libpam-runtime1.3.1-5ubuntu4.2
|
||||
libpcre2-8-010.34-7
|
||||
libpcre32:8.39-12build1
|
||||
libprocps82:3.3.16-1ubuntu2.1
|
||||
libpsl50.21.0-1ubuntu1
|
||||
libreadline88.0-4
|
||||
libroken18-heimdal7.7.0+dfsg-1ubuntu1
|
||||
librtmp12.4+20151223.gitfa8646d.1-2build1
|
||||
libsasl2-22.1.27+dfsg-2
|
||||
libsasl2-modules2.1.27+dfsg-2
|
||||
libsasl2-modules-db2.1.27+dfsg-2
|
||||
libseccomp22.5.1-1ubuntu1~20.04.1
|
||||
libselinux13.0-1build2
|
||||
libsemanage13.0-1build2
|
||||
libsemanage-common3.0-1build2
|
||||
libsepol13.0-1
|
||||
libsmartcols12.34-0.1ubuntu9.1
|
||||
libsqlite3-03.31.1-4ubuntu0.2
|
||||
libss21.45.5-2ubuntu1
|
||||
libssh-40.9.3-2ubuntu2.1
|
||||
libssl1.11.1.1f-1ubuntu2.4
|
||||
libstdc++610.2.0-5ubuntu1~20.04
|
||||
libsystemd0245.4-4ubuntu3.6
|
||||
libtasn1-64.16.0-2
|
||||
libtinfo66.2-0ubuntu2
|
||||
libudev1245.4-4ubuntu3.6
|
||||
libunistring20.9.10-2
|
||||
libuuid12.34-0.1ubuntu9.1
|
||||
libwind0-heimdal7.7.0+dfsg-1ubuntu1
|
||||
libzstd11.4.4+dfsg-3ubuntu0.1
|
||||
locales2.31-0ubuntu9.2
|
||||
login1:4.8.1-1ubuntu5.20.04
|
||||
logsave1.45.5-2ubuntu1
|
||||
lsb-base11.1.0ubuntu2
|
||||
mawk1.3.4.20200120-2
|
||||
mount2.34-0.1ubuntu9.1
|
||||
ncurses-base6.2-0ubuntu2
|
||||
ncurses-bin6.2-0ubuntu2
|
||||
openssl1.1.1f-1ubuntu2.4
|
||||
passwd1:4.8.1-1ubuntu5.20.04
|
||||
perl-base5.30.0-9ubuntu0.2
|
||||
pinentry-curses1.1.0-3build1
|
||||
procps2:3.3.16-1ubuntu2.1
|
||||
publicsuffix20200303.0012-1
|
||||
readline-common8.0-4
|
||||
sed4.7-1
|
||||
sensible-utils0.0.12+nmu1
|
||||
sqlite33.31.1-4ubuntu0.2
|
||||
sysvinit-utils2.96-2.1ubuntu1
|
||||
tar1.30+dfsg-7ubuntu0.20.04.1
|
||||
tzdata2021a-0ubuntu0.20.04
|
||||
ubuntu-keyring2020.02.11.4
|
||||
util-linux2.34-0.1ubuntu9.1
|
||||
zlib1g1:1.2.11.dfsg-2ubuntu1.2
|
||||
NAME VERSION TYPE
|
||||
AngleSharp 1.2.0 dotnet (+5 duplicates)
|
||||
AngleSharp.Xml 1.0.0 dotnet (+5 duplicates)
|
||||
BouncyCastle.Cryptography 2.4.0 dotnet (+5 duplicates)
|
||||
Dapper 2.0.151 dotnet (+5 duplicates)
|
||||
Diacritical.Net 1.0.4 dotnet (+5 duplicates)
|
||||
DryIoc.Microsoft.DependencyInjection 6.2.0 dotnet (+1 duplicate)
|
||||
DryIoc.dll 5.4.3 dotnet (+7 duplicates)
|
||||
Dynamitey 2.0.9.136 dotnet (+3 duplicates)
|
||||
FluentValidation 9.5.4 dotnet (+5 duplicates)
|
||||
IPAddressRange 6.2.0 dotnet (+7 duplicates)
|
||||
ImpromptuInterface 7.0.1 dotnet (+3 duplicates)
|
||||
MailKit 4.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.AspNetCore.Cryptography.Internal 6.0.35 dotnet (+4 duplicates)
|
||||
Microsoft.AspNetCore.Cryptography.KeyDerivation 6.0.35 dotnet (+4 duplicates)
|
||||
Microsoft.AspNetCore.WebUtilities 2.2.0 dotnet
|
||||
Microsoft.Bcl.AsyncInterfaces 6.0.0 dotnet (+5 duplicates)
|
||||
Microsoft.Bcl.TimeProvider 8.0.0 dotnet (+5 duplicates)
|
||||
Microsoft.Data.SqlClient 2.1.7 dotnet (+5 duplicates)
|
||||
Microsoft.Extensions.Configuration 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.Abstractions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.Binder 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.CommandLine 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.EnvironmentVariables 6.0.1 dotnet (+6 duplicates)
|
||||
Microsoft.Extensions.Configuration.FileExtensions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.Json 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Configuration.UserSecrets 6.0.1 dotnet (+6 duplicates)
|
||||
Microsoft.Extensions.DependencyInjection 6.0.2 dotnet (+7 duplicates)
|
||||
Microsoft.Extensions.DependencyInjection.Abstractions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.DependencyInjection.Abstractions 7.0.0 dotnet (+1 duplicate)
|
||||
Microsoft.Extensions.FileProviders.Abstractions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.FileProviders.Physical 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.FileSystemGlobbing 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Hosting 6.0.1 dotnet (+6 duplicates)
|
||||
Microsoft.Extensions.Hosting.Abstractions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Hosting.WindowsServices 6.0.3 dotnet (+7 duplicates)
|
||||
Microsoft.Extensions.Logging 6.0.1 dotnet (+7 duplicates)
|
||||
Microsoft.Extensions.Logging.Abstractions 6.0.4 dotnet (+6 duplicates)
|
||||
Microsoft.Extensions.Logging.Configuration 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Logging.Console 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Logging.Debug 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Logging.EventLog 6.0.1 dotnet (+7 duplicates)
|
||||
Microsoft.Extensions.Logging.EventSource 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Options 6.0.1 dotnet (+7 duplicates)
|
||||
Microsoft.Extensions.Options.ConfigurationExtensions 6.0.0 dotnet (+2 duplicates)
|
||||
Microsoft.Extensions.Primitives 6.0.1 dotnet (+7 duplicates)
|
||||
Microsoft.Identity.Client 4.21.1 dotnet (+5 duplicates)
|
||||
Microsoft.IdentityModel.JsonWebTokens 6.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.IdentityModel.Logging 6.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.IdentityModel.Protocols 6.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.IdentityModel.Tokens 6.8.0 dotnet (+5 duplicates)
|
||||
Microsoft.Net.Http.Headers 2.2.0 dotnet
|
||||
Microsoft.OpenApi 1.6.22 dotnet (+2 duplicates)
|
||||
Microsoft.Win32.SystemEvents 6.0.0 dotnet (+7 duplicates)
|
||||
MimeKit 4.8.0 dotnet (+5 duplicates)
|
||||
Mono.Nat 3.0.1 dotnet (+5 duplicates)
|
||||
Mono.Posix.NETStandard 5.20.1.34-servarr20 dotnet
|
||||
MonoTorrent 2.0.7 dotnet (+5 duplicates)
|
||||
NLog 5.4.0 dotnet (+7 duplicates)
|
||||
NLog.Extensions.Logging 5.4.0 dotnet (+7 duplicates)
|
||||
NLog.Layouts.ClefJsonLayout 1.0.3 dotnet (+7 duplicates)
|
||||
NLog.Targets.Syslog 7.0.0 dotnet (+7 duplicates)
|
||||
Newtonsoft.Json 13.0.3 dotnet (+7 duplicates)
|
||||
Npgsql 7.0.10 dotnet (+7 duplicates)
|
||||
Polly 8.5.2 dotnet (+5 duplicates)
|
||||
Polly.Contrib.WaitAndRetry 1.1.1 dotnet (+7 duplicates)
|
||||
Polly.Core 8.5.2 dotnet (+5 duplicates)
|
||||
Prowlarr 1.0.0 dotnet
|
||||
Prowlarr.Api.V1 1.0.0 dotnet (+2 duplicates)
|
||||
Prowlarr.Common 1.0.0 dotnet (+7 duplicates)
|
||||
Prowlarr.Core 1.0.0 dotnet (+5 duplicates)
|
||||
Prowlarr.Host 1.0.0 dotnet (+1 duplicate)
|
||||
Prowlarr.Http 1.0.0 dotnet (+3 duplicates)
|
||||
Prowlarr.Mono 1.0.0 dotnet
|
||||
Prowlarr.SignalR 1.0.0 dotnet (+4 duplicates)
|
||||
ReusableTasks 2.0.0 dotnet (+5 duplicates)
|
||||
Sentry 4.0.2 dotnet (+7 duplicates)
|
||||
Servarr.FluentMigrator 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Abstractions 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Extensions.Oracle 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Extensions.Postgres 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Extensions.SqlAnywhere 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Extensions.SqlServer 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Core 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Db2 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Firebird 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Hana 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.MySql 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Oracle 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Postgres 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.Redshift 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.SQLite 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.SqlAnywhere 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.SqlServer 3.3.2.9 dotnet (+5 duplicates)
|
||||
Servarr.FluentMigrator.Runner.SqlServerCe 3.3.2.9 dotnet (+5 duplicates)
|
||||
SharpZipLib 1.4.2 dotnet (+7 duplicates)
|
||||
Swashbuckle.AspNetCore.Swagger 7.3.2 dotnet (+2 duplicates)
|
||||
Swashbuckle.AspNetCore.SwaggerGen 7.3.2 dotnet (+2 duplicates)
|
||||
System.Configuration.ConfigurationManager 6.0.2 dotnet (+7 duplicates)
|
||||
System.Data.SQLite.Core.Servarr 1.0.115.5-18 dotnet (+7 duplicates)
|
||||
System.Diagnostics.DiagnosticSource 6.0.2 dotnet (+7 duplicates)
|
||||
System.Diagnostics.EventLog 6.0.0 dotnet (+2 duplicates)
|
||||
System.Drawing.Common 6.0.0 dotnet (+7 duplicates)
|
||||
System.Formats.Asn1 8.0.1 dotnet (+5 duplicates)
|
||||
System.IdentityModel.Tokens.Jwt 6.8.0 dotnet (+5 duplicates)
|
||||
System.Runtime.Caching 4.7.0 dotnet (+5 duplicates)
|
||||
System.Security.Cryptography.Pkcs 8.0.0 dotnet (+5 duplicates)
|
||||
System.Security.Cryptography.ProtectedData 6.0.0 dotnet (+7 duplicates)
|
||||
System.Security.Permissions 6.0.1 dotnet (+7 duplicates)
|
||||
System.ServiceModel.Syndication 6.0.0 dotnet (+5 duplicates)
|
||||
System.ServiceProcess.ServiceController 6.0.1 dotnet (+7 duplicates)
|
||||
System.Text.Encoding.CodePages 6.0.1 dotnet (+1 duplicate)
|
||||
System.Text.Json 6.0.11 dotnet (+7 duplicates)
|
||||
System.Windows.Extensions 6.0.0 dotnet (+7 duplicates)
|
||||
YamlDotNet 13.1.1 dotnet (+5 duplicates)
|
||||
acl-libs 2.3.2-r1 apk
|
||||
alpine-baselayout 3.6.8-r1 apk
|
||||
alpine-baselayout-data 3.6.8-r1 apk
|
||||
alpine-keys 2.5-r0 apk
|
||||
alpine-release 3.21.3-r0 apk
|
||||
apk-tools 2.14.6-r3 apk
|
||||
bash 5.2.37-r0 apk
|
||||
brotli-libs 1.1.0-r2 apk
|
||||
busybox 1.37.0-r12 apk
|
||||
busybox-binsh 1.37.0-r12 apk
|
||||
c-ares 1.34.5-r0 apk
|
||||
ca-certificates 20241121-r1 apk
|
||||
ca-certificates-bundle 20241121-r1 apk
|
||||
catatonit 0.2.0-r0 apk
|
||||
coreutils 9.5-r2 apk
|
||||
coreutils-env 9.5-r2 apk
|
||||
coreutils-fmt 9.5-r2 apk
|
||||
coreutils-sha512sum 9.5-r2 apk
|
||||
curl 8.12.1-r1 apk
|
||||
findutils 4.10.0-r0 apk
|
||||
icu-data-en 74.2-r0 apk
|
||||
icu-libs 74.2-r0 apk
|
||||
jq 1.7.1-r0 apk
|
||||
libattr 2.5.2-r2 apk
|
||||
libbsd 0.12.2-r0 apk
|
||||
libcrypto3 3.3.3-r0 apk
|
||||
libcurl 8.12.1-r1 apk
|
||||
libgcc 14.2.0-r4 apk
|
||||
libgcrypt 1.10.3-r1 apk
|
||||
libgpg-error 1.51-r0 apk
|
||||
libidn2 2.3.7-r0 apk
|
||||
libintl 0.22.5-r0 apk
|
||||
libmd 1.1.0-r0 apk
|
||||
libncursesw 6.5_p20241006-r3 apk
|
||||
libproc2 4.0.4-r2 apk
|
||||
libpsl 0.21.5-r3 apk
|
||||
libssl3 3.3.3-r0 apk
|
||||
libstdc++ 14.2.0-r4 apk
|
||||
libunistring 1.2-r0 apk
|
||||
libxml2 2.13.4-r5 apk
|
||||
libxslt 1.1.42-r2 apk
|
||||
linux-pam 1.6.1-r1 apk
|
||||
musl 1.2.5-r9 apk
|
||||
musl-utils 1.2.5-r9 apk
|
||||
ncurses-terminfo-base 6.5_p20241006-r3 apk
|
||||
netcat-openbsd 1.226.1.1-r0 apk
|
||||
nghttp2-libs 1.64.0-r0 apk
|
||||
oniguruma 6.9.9-r0 apk
|
||||
procps-ng 4.0.4-r2 apk
|
||||
readline 8.2.13-r0 apk
|
||||
runtimepack.Microsoft.AspNetCore.App.Runtime.linux-musl-x64 6.0.35 dotnet
|
||||
runtimepack.Microsoft.NETCore.App.Runtime.linux-musl-x64 6.0.35 dotnet
|
||||
scanelf 1.3.8-r1 apk
|
||||
shadow 4.16.0-r1 apk
|
||||
skalibs-libs 2.14.3.0-r0 apk
|
||||
sqlite-libs 3.48.0-r1 apk
|
||||
ssl_client 1.37.0-r12 apk
|
||||
tzdata 2025b-r0 apk
|
||||
utmps-libs 0.1.2.3-r2 apk
|
||||
xmlstarlet 1.6.1-r2 apk
|
||||
xz-libs 5.6.3-r1 apk
|
||||
zlib 1.3.1-r2 apk
|
||||
zstd-libs 1.5.6-r2 apk
|
||||
|
|
75
readme-vars.yml
Normal file → Executable file
75
readme-vars.yml
Normal file → Executable file
|
@ -6,41 +6,78 @@ project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/ma
|
|||
project_blurb: |
|
||||
[{{ project_name|capitalize }}]({{ project_url }}) is a indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Sonarr, Radarr, Lidarr, and Readarr offering complete management of your indexers with no per app Indexer setup required (we do it all).
|
||||
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
|
||||
|
||||
project_categories: "Indexers"
|
||||
# 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: "develop", desc: "Prowlarr releases from their develop branch" }
|
||||
- { tag: "nightly", desc: "Prowlarr releases from their nightly branch" }
|
||||
|
||||
- {tag: "latest", desc: "Prowlarr stable releases"}
|
||||
- {tag: "develop", desc: "Prowlarr releases from their develop branch"}
|
||||
- {tag: "nightly", desc: "Prowlarr releases from their nightly branch"}
|
||||
# container parameters
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Database and Prowlarr configs" }
|
||||
|
||||
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Database and Prowlarr configs"}
|
||||
param_usage_include_ports: true
|
||||
param_ports:
|
||||
- { external_port: "9696", internal_port: "9696", port_desc: "The port for the Prowlarr webinterface" }
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London, this is required for Prowlarr" }
|
||||
# optional env variables
|
||||
opt_param_usage_include_env: false
|
||||
|
||||
- {external_port: "9696", internal_port: "9696", port_desc: "The port for the Prowlarr web UI"}
|
||||
readonly_supported: true
|
||||
nonroot_supported: true
|
||||
# application setup block
|
||||
app_setup_block_enabled: true
|
||||
app_setup_block: |
|
||||
Access the webui at `<your-ip>:9696`, for more information check out [Prowlarr](https://github.com/Prowlarr/Prowlarr).
|
||||
|
||||
Setup info can be found [here](https://wikijs.servarr.com/prowlarr/quick-start-guide).
|
||||
|
||||
# init diagram
|
||||
init_diagram: |
|
||||
"prowlarr:latest": {
|
||||
docker-mods
|
||||
base {
|
||||
fix-attr +\nlegacy cont-init
|
||||
}
|
||||
docker-mods -> base
|
||||
legacy-services
|
||||
custom services
|
||||
init-services -> legacy-services
|
||||
init-services -> custom services
|
||||
custom services -> legacy-services
|
||||
legacy-services -> ci-service-check
|
||||
init-migrations -> init-adduser
|
||||
init-os-end -> init-config
|
||||
init-config -> init-config-end
|
||||
init-crontab-config -> init-config-end
|
||||
init-prowlarr-config -> init-config-end
|
||||
init-config -> init-crontab-config
|
||||
init-mods-end -> init-custom-files
|
||||
base -> init-envfile
|
||||
base -> init-migrations
|
||||
init-config-end -> init-mods
|
||||
init-mods-package-install -> init-mods-end
|
||||
init-mods -> init-mods-package-install
|
||||
init-adduser -> init-os-end
|
||||
init-envfile -> init-os-end
|
||||
init-config -> init-prowlarr-config
|
||||
init-custom-files -> init-services
|
||||
init-services -> svc-cron
|
||||
svc-cron -> legacy-services
|
||||
init-services -> svc-prowlarr
|
||||
svc-prowlarr -> legacy-services
|
||||
}
|
||||
Base Images: {
|
||||
"baseimage-alpine:3.21"
|
||||
}
|
||||
"prowlarr:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "06.06.21:", desc: "Initial realease." }
|
||||
- {date: "23.12.24:", desc: "Rebase Alpine 3.21."}
|
||||
- {date: "31.05.24:", desc: "Rebase Alpine 3.20."}
|
||||
- {date: "20.03.24:", desc: "Rebase to Alpine 3.19."}
|
||||
- {date: "06.06.23:", desc: "Rebase master to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf)."}
|
||||
- {date: "03.01.23:", desc: "Publish stable release."}
|
||||
- {date: "20.02.22:", desc: "Rebase develop branch to Alpine."}
|
||||
- {date: "06.06.21:", desc: "Initial realease."}
|
||||
|
|
0
root/donate.txt
Normal file → Executable file
0
root/donate.txt
Normal file → Executable file
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/config
|
10
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run
Executable file
10
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
mkdir -p /run/prowlarr-temp
|
||||
|
||||
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||
lsiown -R abc:abc \
|
||||
/config \
|
||||
/run/prowlarr-temp
|
||||
fi
|
1
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
1
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-prowlarr-config/up
Normal file
|
@ -0,0 +1 @@
|
|||
/etc/s6-overlay/s6-rc.d/init-prowlarr-config/run
|
11
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/data/check
Executable file
11
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/data/check
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ -f /config/config.xml ]]; then
|
||||
PORT=$(xmlstarlet sel -T -t -v /Config/Port /config/config.xml)
|
||||
fi
|
||||
|
||||
if [[ $(curl -sL "http://localhost:${PORT:-9696}/ping" | jq -r '.status' 2>/dev/null) = "OK" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
1
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/notification-fd
Normal file
1
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/notification-fd
Normal file
|
@ -0,0 +1 @@
|
|||
3
|
14
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/run
Executable file
14
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/run
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 \
|
||||
cd /app/prowlarr/bin s6-setuidgid abc /app/prowlarr/bin/Prowlarr \
|
||||
-nobrowser -data=/config
|
||||
else
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 \
|
||||
cd /app/prowlarr/bin /app/prowlarr/bin/Prowlarr \
|
||||
-nobrowser -data=/config
|
||||
fi
|
1
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/svc-prowlarr/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
0
root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-prowlarr
Normal file
0
root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-prowlarr
Normal file
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
|
||||
cd /app/prowlarr/bin || exit
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /app/prowlarr/bin/Prowlarr \
|
||||
-nobrowser -data=/config
|
Loading…
Add table
Add a link
Reference in a new issue