mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
cleaning
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
## 0.2.1
|
||||
|
||||
- Mount /media folder
|
||||
|
||||
## 0.2.0
|
||||
|
||||
- not a legacy addon anymore
|
||||
@@ -1,27 +0,0 @@
|
||||
ARG BUILD_FROM
|
||||
# hadolint ignore=DL3006
|
||||
FROM $BUILD_FROM
|
||||
|
||||
RUN apk add --no-cache \
|
||||
jq=1.6-r0 \
|
||||
&& curl -J -L -o /tmp/bashio.tar.gz \
|
||||
"https://github.com/hassio-addons/bashio/archive/v0.8.0.tar.gz" \
|
||||
&& mkdir /tmp/bashio \
|
||||
&& tar zxvf \
|
||||
/tmp/bashio.tar.gz \
|
||||
--strip 1 -C /tmp/bashio \
|
||||
\
|
||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||
\
|
||||
&& rm -f -r \
|
||||
/tmp/*
|
||||
|
||||
# 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/ /
|
||||
@@ -1,31 +0,0 @@
|
||||
# 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
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"build_from_template": {
|
||||
"image": "linuxserver/nzbget",
|
||||
"version": "v21.0-ls41"
|
||||
},
|
||||
"build_from": {
|
||||
"armhf": "linuxserver/nzbget:arm32v7-v21.0-ls41",
|
||||
"aarch64": "linuxserver/nzbget:arm64v8-v21.0-ls41",
|
||||
"amd64": "linuxserver/nzbget:amd64-v21.0-ls41"
|
||||
},
|
||||
"squash": false,
|
||||
"args": {}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"name": "nzbget",
|
||||
"version": "0.2.1",
|
||||
"slug": "nzbget",
|
||||
"legacy": false,
|
||||
"maintenance": {
|
||||
"github_release": "https://github.com/linuxserver/docker-nzbget",
|
||||
"version_regex": "v(\\d+\\.\\d+\\.?\\d*)-(ls\\d+)"
|
||||
},
|
||||
"description": "Usenet downloader",
|
||||
"url": "https://github.com/petersendev/hassio-addons/tree/master/nzbget#readme",
|
||||
"startup": "services",
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64",
|
||||
"armhf"
|
||||
],
|
||||
"ports": {
|
||||
"6789/tcp": 6789
|
||||
},
|
||||
"ports_description": {
|
||||
"6789/tcp": "web interface"
|
||||
},
|
||||
"map": [
|
||||
"config:rw",
|
||||
"share:rw",
|
||||
"media:rw",
|
||||
"ssl"
|
||||
],
|
||||
"webui": "http://[HOST]:[PORT:6789]",
|
||||
"boot": "auto",
|
||||
"options": {
|
||||
"PUID": 1001,
|
||||
"PGID": 1001
|
||||
},
|
||||
"schema": {
|
||||
"PUID": "int",
|
||||
"PGID": "int",
|
||||
"TZ": "str?"
|
||||
},
|
||||
"image": "petersendev/hassio-nzbget-{arch}"
|
||||
}
|
||||
BIN
nzbget/icon.png
BIN
nzbget/icon.png
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB |
BIN
nzbget/logo.png
BIN
nzbget/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB |
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
|
||||
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
|
||||
done
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /share/downloads ]; then
|
||||
echo "Creating /share/downloads"
|
||||
mkdir -p /share/downloads
|
||||
chown -R abc:abc /share/downloads
|
||||
fi
|
||||
|
||||
if [ ! -d /config/nzbget ]; then
|
||||
echo "Creating /config/nzbget"
|
||||
mkdir -p /config/nzbget
|
||||
chown -R abc:abc /config/nzbget
|
||||
fi
|
||||
Reference in New Issue
Block a user