Merge pull request #4 from petersendev/nzbget

add nzbget
This commit is contained in:
Arne Petersen
2019-05-30 15:16:13 +02:00
committed by GitHub
7 changed files with 91 additions and 0 deletions

View File

@@ -62,4 +62,17 @@ jobs:
- template: .azure-pipelines/addon-template.yml - template: .azure-pipelines/addon-template.yml
parameters: parameters:
addon: 'hydra2' addon: 'hydra2'
arch: '--all'
- job: 'nzbget'
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: 'nzbget'
arch: '--all' arch: '--all'

10
nzbget/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM linuxserver/nzbget:v21.0-ls15
# use /data instead of /config for hass.io environment
RUN sed -i "s|/config|/config/nzbget|g" /etc/services.d/nzbget/run \
&& sed -i "s|/config|/config/nzbget|g" /etc/cont-init.d/30-config \
&& sed -i "s|/downloads|/share/downloads|g" /etc/cont-init.d/30-config \
&& sed -i "s|/downloads|/share/downloads|g" /app/nzbget/share/nzbget/nzbget.conf
# copy local files
COPY root/ /

31
nzbget/README.md Normal file
View File

@@ -0,0 +1,31 @@
# Hassio Add-ons by petersendev: NZBGET
## About
[nzbget](http://nzbget.net/) is a usenet downloader, written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources.
This addon is based on the [docker image](https://github.com/linuxserver/docker-nzbget) 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>:6789`.
The default login details (change ASAP) are
`login`: nzbget, `password`: tegbzn6789
[repository]: https://github.com/petersendev/hassio-addons

33
nzbget/config.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "nzbget",
"version": "0.0.4",
"slug": "nzbget",
"description": "Usenet downloader",
"url": "https://github.com/petersendev/hassio-addons/nzbget",
"startup": "services",
"arch": [
"aarch64",
"amd64",
"armhf"
],
"ports": {
"6789/tcp": 6789
},
"ports_description": {
"6789/tcp": "web interface"
},
"map": [
"config:rw",
"share:rw",
"ssl"
],
"webui": "http://[HOST]:[PORT:6789]",
"boot": "auto",
"environment": {
"PUID": "1000",
"PGID": "1000"
},
"options": {},
"schema": {},
"image": "petersendev/hassio-nzbget-{arch}"
}

BIN
nzbget/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
nzbget/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bash
mkdir -p /share/downloads
mkdir -p /config/nzbget