mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 17:31:03 +01:00
@@ -62,4 +62,17 @@ jobs:
|
||||
- template: .azure-pipelines/addon-template.yml
|
||||
parameters:
|
||||
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'
|
||||
10
nzbget/Dockerfile
Normal file
10
nzbget/Dockerfile
Normal 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
31
nzbget/README.md
Normal 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
33
nzbget/config.json
Normal 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
BIN
nzbget/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
nzbget/logo.png
Normal file
BIN
nzbget/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
4
nzbget/root/etc/cont-init.d/20-folders
Normal file
4
nzbget/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /share/downloads
|
||||
mkdir -p /config/nzbget
|
||||
Reference in New Issue
Block a user