mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-13 19:11:35 +02:00
remove
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
ARG BUILD_FROM
|
|
||||||
ARG BUILD_VERSION
|
|
||||||
ARG BUILD_UPSTREAM="v1.5.0.13"
|
|
||||||
FROM ${BUILD_FROM}${BUILD_UPSTREAM}
|
|
||||||
ARG BASHIO_VERSION=0.13.0
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
################
|
|
||||||
# Install apps #
|
|
||||||
################
|
|
||||||
apk add --no-cache \
|
|
||||||
jq \
|
|
||||||
curl \
|
|
||||||
cifs-utils \
|
|
||||||
keyutils \
|
|
||||||
\
|
|
||||||
###################
|
|
||||||
# Install bashio #
|
|
||||||
##################
|
|
||||||
&& mkdir -p /tmp/bashio \
|
|
||||||
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
|
|
||||||
| tar -xzf - --strip 1 -C /tmp/bashio \
|
|
||||||
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
|
||||||
&& rm -rf /tmp/bashio \
|
|
||||||
\
|
|
||||||
########################################
|
|
||||||
# Correct upstream image folders links #
|
|
||||||
########################################
|
|
||||||
\
|
|
||||||
# Allow UID and GID setting
|
|
||||||
&& sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
|
||||||
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
|
|
||||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \
|
|
||||||
\
|
|
||||||
# Correct permissions
|
|
||||||
&& sed -i 's|/config|-R /config/diskover|g' /etc/cont-init.d/10-adduser \
|
|
||||||
&& sed -i 's= /config=/config/diskover || true=g' /etc/cont-init.d/50-diskover-config \
|
|
||||||
&& sed -i 's= /config=/config/diskover || true=g' /etc/cont-init.d/60-diskover-web-config
|
|
||||||
|
|
||||||
# copy local files
|
|
||||||
COPY root/ /
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
# Home assistant add-on: Radarr
|
|
||||||
![Supports aarch64 Architecture][aarch64-shield] ![Supports amd64 Architecture][amd64-shield] ![Supports armhf Architecture][armhf-shield] ![Supports armv7 Architecture][armv7-shield]
|
|
||||||
|
|
||||||
## About
|
|
||||||
|
|
||||||
Forked to add latest version, addition of OCR
|
|
||||||
- Inital version : https://github.com/petersendev/hassio-addons
|
|
||||||
|
|
||||||
[Radarr](https://github.com/Radarr/Radarr) - A fork of Sonarr to work with movies like Couchpotato.
|
|
||||||
|
|
||||||
This addon is based on the [docker image](https://github.com/linuxserver/docker-radarr) 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>:7878`.
|
|
||||||
|
|
||||||
|
|
||||||
[repository]: https://github.com/alexbelgium/hassio-addons
|
|
||||||
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
|
|
||||||
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
|
|
||||||
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
|
|
||||||
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#include <tunables/global>
|
|
||||||
|
|
||||||
profile diskover_addon flags=(attach_disconnected,mediate_deleted) {
|
|
||||||
#include <abstractions/base>
|
|
||||||
|
|
||||||
capability,
|
|
||||||
file,
|
|
||||||
mount,
|
|
||||||
umount,
|
|
||||||
remount,
|
|
||||||
|
|
||||||
capability setgid,
|
|
||||||
capability setuid,
|
|
||||||
capability sys_admin,
|
|
||||||
capability dac_read_search,
|
|
||||||
# capability dac_override,
|
|
||||||
# capability sys_rawio,
|
|
||||||
|
|
||||||
# S6-Overlay
|
|
||||||
/bin/** ix,
|
|
||||||
/usr/bin/** ix,
|
|
||||||
/usr/lib/bashio/** ix,
|
|
||||||
/etc/s6/** rix,
|
|
||||||
/run/s6/** rix,
|
|
||||||
/etc/services.d/** rwix,
|
|
||||||
/etc/cont-init.d/** rwix,
|
|
||||||
/etc/cont-finish.d/** rwix,
|
|
||||||
/init rix,
|
|
||||||
/var/run/** mrwkl,
|
|
||||||
/var/run/ mrwkl,
|
|
||||||
/dev/i2c-1 mrwkl,
|
|
||||||
# Files required
|
|
||||||
/dev/sda1 mrwkl,
|
|
||||||
/dev/sdb1 mrwkl,
|
|
||||||
/dev/mmcblk0p1 mrwkl,
|
|
||||||
/dev/* mrwkl,
|
|
||||||
/tmp/** mrkwl,
|
|
||||||
|
|
||||||
# Data access
|
|
||||||
/data/** rw,
|
|
||||||
|
|
||||||
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
|
|
||||||
ptrace (trace,read) peer=docker-default,
|
|
||||||
|
|
||||||
# docker daemon confinement requires explict allow rule for signal
|
|
||||||
signal (receive) set=(kill,term) peer=/usr/bin/docker,
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"build_from": {
|
|
||||||
"armhf": "linuxserver/diskover:arm32v7-version-",
|
|
||||||
"armv7": "linuxserver/diskover:arm32v7-version-",
|
|
||||||
"aarch64": "linuxserver/diskover:arm64v8-version-",
|
|
||||||
"amd64": "linuxserver/diskover:amd64-version-"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "diskover NAS",
|
|
||||||
"version": "v1.5.0.13",
|
|
||||||
"upstream": "v1.5.0.13",
|
|
||||||
"slug": "diskover",
|
|
||||||
"description": "File system crawler and disk space usage software that uses Elasticsearch to index and manage data across heterogeneous storage systems",
|
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
|
||||||
"startup": "services",
|
|
||||||
"arch": [
|
|
||||||
"aarch64",
|
|
||||||
"amd64",
|
|
||||||
"armv7",
|
|
||||||
"armhf"
|
|
||||||
],
|
|
||||||
"ports": {
|
|
||||||
"80/tcp": 87,
|
|
||||||
"9181/tcp": 9181,
|
|
||||||
"9999/tcp": 9999
|
|
||||||
},
|
|
||||||
"ports_description": {
|
|
||||||
"80/tcp": "diskover Web UI",
|
|
||||||
"9181/tcp": "rq-dashboard web UI",
|
|
||||||
"9999/tcp": "diskover socket server"
|
|
||||||
},
|
|
||||||
"map": [
|
|
||||||
"config:rw",
|
|
||||||
"share:rw",
|
|
||||||
"media:rw",
|
|
||||||
"ssl"
|
|
||||||
],
|
|
||||||
"privileged": [
|
|
||||||
"SYS_ADMIN",
|
|
||||||
"DAC_READ_SEARCH"
|
|
||||||
],
|
|
||||||
"webui": "http://[HOST]:[PORT:80]",
|
|
||||||
"boot": "auto",
|
|
||||||
"environment": {
|
|
||||||
"PUID": "0",
|
|
||||||
"PGID": "0"
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"PUID": 0,
|
|
||||||
"PGID": 0
|
|
||||||
},
|
|
||||||
"schema": {
|
|
||||||
"PUID": "int",
|
|
||||||
"PGID": "int",
|
|
||||||
"TZ": "str?"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.6 KiB |
@@ -1,39 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
|
||||||
# ==============================================================================
|
|
||||||
# Home Assistant Community Add-on: Base Images
|
|
||||||
# Displays a simple add-on banner on startup
|
|
||||||
# ==============================================================================
|
|
||||||
if bashio::supervisor.ping; then
|
|
||||||
bashio::log.blue \
|
|
||||||
'-----------------------------------------------------------'
|
|
||||||
bashio::log.blue " Add-on: $(bashio::addon.name)"
|
|
||||||
bashio::log.blue " $(bashio::addon.description)"
|
|
||||||
bashio::log.blue \
|
|
||||||
'-----------------------------------------------------------'
|
|
||||||
|
|
||||||
bashio::log.blue " Add-on version: $(bashio::addon.version)"
|
|
||||||
if bashio::var.true "$(bashio::addon.update_available)"; then
|
|
||||||
bashio::log.magenta ' There is an update available for this add-on!'
|
|
||||||
bashio::log.magenta \
|
|
||||||
" Latest add-on version: $(bashio::addon.version_latest)"
|
|
||||||
bashio::log.magenta ' Please consider upgrading as soon as possible.'
|
|
||||||
else
|
|
||||||
bashio::log.green ' You are running the latest version of this add-on.'
|
|
||||||
fi
|
|
||||||
|
|
||||||
bashio::log.blue " System: $(bashio::info.operating_system)" \
|
|
||||||
" ($(bashio::info.arch) / $(bashio::info.machine))"
|
|
||||||
bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)"
|
|
||||||
bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)"
|
|
||||||
|
|
||||||
bashio::log.blue \
|
|
||||||
'-----------------------------------------------------------'
|
|
||||||
bashio::log.blue \
|
|
||||||
' Please, share the above information when looking for help'
|
|
||||||
bashio::log.blue \
|
|
||||||
' or support in, e.g., GitHub, forums or the Discord chat.'
|
|
||||||
bashio::log.blue \
|
|
||||||
' https://github.com/alexbelgium/hassio-addons'
|
|
||||||
bashio::log.blue \
|
|
||||||
'-----------------------------------------------------------'
|
|
||||||
fi
|
|
||||||
@@ -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,7 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
|
||||||
|
|
||||||
if [ ! -d /config/diskover ]; then
|
|
||||||
echo "Creating /config/radarr"
|
|
||||||
mkdir -p /config/diskover
|
|
||||||
chown -R abc:abc /config/diskover
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user