mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
add jackett (#29)
This commit is contained in:
@@ -140,4 +140,17 @@ jobs:
|
|||||||
- template: .azure-pipelines/addon-template.yml
|
- template: .azure-pipelines/addon-template.yml
|
||||||
parameters:
|
parameters:
|
||||||
addon: 'transmission-openvpn'
|
addon: 'transmission-openvpn'
|
||||||
|
arch: '--all'
|
||||||
|
|
||||||
|
- job: 'jackett'
|
||||||
|
condition: and(eq(variables['Build.SourceBranchName'], 'master'), succeeded('Hadolint'), succeeded('JQ'))
|
||||||
|
dependsOn:
|
||||||
|
- 'Hadolint'
|
||||||
|
- 'JQ'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
steps:
|
||||||
|
- template: .azure-pipelines/addon-template.yml
|
||||||
|
parameters:
|
||||||
|
addon: 'jackett'
|
||||||
arch: '--all'
|
arch: '--all'
|
||||||
3
jackett/CHANGELOG.md
Normal file
3
jackett/CHANGELOG.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## 0.1.0
|
||||||
|
|
||||||
|
- jackett 0.12.1635 (linuxserver/jackett:v0.12.1635-ls51)
|
||||||
10
jackett/Dockerfile
Normal file
10
jackett/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM linuxserver/jackett:v0.12.1635-ls51
|
||||||
|
|
||||||
|
# use /data instead of /config for hass.io environment
|
||||||
|
RUN sed -i "s|/config|/config/jackett|g" /etc/cont-init.d/30-config
|
||||||
|
|
||||||
|
ENV XDG_DATA_HOME="/share/jackett" \
|
||||||
|
XDG_CONFIG_HOME="/config/jackett"
|
||||||
|
|
||||||
|
# copy local files
|
||||||
|
COPY root/ /
|
||||||
26
jackett/README.md
Normal file
26
jackett/README.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Hassio Add-ons by petersendev: jackett
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[Jackett](https://github.com/Jackett/Jackett) works as a proxy server: it translates queries from apps (Sonarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
|
||||||
|
|
||||||
|
This addon is based on the [docker image](https://github.com/linuxserver/docker-jackett) from linuxserver.io.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
The installation of this add-on is pretty straightforward and not different in
|
||||||
|
comparison to installing any other Hass.io add-on.
|
||||||
|
|
||||||
|
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||||
|
1. Install this add-on.
|
||||||
|
1. Click the `Save` button to store your configuration.
|
||||||
|
1. Start the add-on.
|
||||||
|
1. Check the logs of the add-on to see if everything went well.
|
||||||
|
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Webui can be found at `<your-ip>:9117`.
|
||||||
|
|
||||||
|
[repository]: https://github.com/petersendev/hassio-addons
|
||||||
45
jackett/config.json
Normal file
45
jackett/config.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"name": "jackett",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"slug": "jackett",
|
||||||
|
"legacy": true,
|
||||||
|
"maintenance": {
|
||||||
|
"github_release": "https://github.com/linuxserver/docker-jackett",
|
||||||
|
"version_regex": "v(\\d+\\.\\d+\\.\\d+)-(ls\\d+)"
|
||||||
|
},
|
||||||
|
"description": "API Support for your favorite torrent trackers",
|
||||||
|
"url": "https://github.com/petersendev/hassio-addons/jackett",
|
||||||
|
"startup": "services",
|
||||||
|
"arch": [
|
||||||
|
"aarch64",
|
||||||
|
"amd64",
|
||||||
|
"armhf"
|
||||||
|
],
|
||||||
|
"ports": {
|
||||||
|
"9117/tcp": 9117
|
||||||
|
},
|
||||||
|
"ports_description": {
|
||||||
|
"9117/tcp": "web interface"
|
||||||
|
},
|
||||||
|
"map": [
|
||||||
|
"config:rw",
|
||||||
|
"share:rw",
|
||||||
|
"ssl"
|
||||||
|
],
|
||||||
|
"webui": "http://[HOST]:[PORT:9117]",
|
||||||
|
"boot": "auto",
|
||||||
|
"options": {
|
||||||
|
"PUID": 1001,
|
||||||
|
"PGID": 1001
|
||||||
|
},
|
||||||
|
"schema": {
|
||||||
|
"PUID": "int",
|
||||||
|
"PGID": "int",
|
||||||
|
"TZ": "str?"
|
||||||
|
},
|
||||||
|
"environment": {
|
||||||
|
"XDG_DATA_HOME": "/share/jackett",
|
||||||
|
"XDG_CONFIG_HOME": "/config/jackett"
|
||||||
|
},
|
||||||
|
"image": "petersendev/hassio-jackett-{arch}"
|
||||||
|
}
|
||||||
BIN
jackett/icon.png
Normal file
BIN
jackett/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
jackett/logo.png
Normal file
BIN
jackett/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
13
jackett/root/etc/cont-init.d/20-folders
Normal file
13
jackett/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ ! -d /config/jackett ]; then
|
||||||
|
echo "Creating /config/jackett"
|
||||||
|
mkdir -p /config/jackett
|
||||||
|
chown -R abc:abc /config/jackett
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d /share/jackett ]; then
|
||||||
|
echo "Creating /share/jackett"
|
||||||
|
mkdir -p /share/jackett
|
||||||
|
chown -R abc:abc /share/jackett
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user