Mount by label

This commit is contained in:
Alexandre
2021-11-02 10:38:52 +01:00
11 changed files with 63 additions and 36 deletions

View File

@@ -1,4 +1,8 @@
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
## 2.18.0 (02-11-2021)
- Update to latest version from hurlenko/filebrowser-docker
- Allow mounting of devices up to sdg2
- Allow uploads >16mb
- Allow local mount in protected mode

View File

@@ -1,5 +1,5 @@
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="2.17.2"
ARG BUILD_UPSTREAM="2.18.0"
FROM hurlenko/filebrowser:v${BUILD_UPSTREAM}
ARG BASHIO_VERSION=0.13.1

View File

@@ -1,6 +1,11 @@
{
"apparmor": true,
"arch": ["aarch64", "amd64", "armv7", "armhf"],
"arch": [
"aarch64",
"amd64",
"armv7",
"armhf"
],
"description": "filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files",
"devices": [
"/dev/sda1",
@@ -24,7 +29,14 @@
"ingress": true,
"ingress_port": 8099,
"ingress_stream": true,
"map": ["media:rw", "config:rw", "addons:rw", "backup:rw", "share:rw", "ssl"],
"map": [
"media:rw",
"config:rw",
"addons:rw",
"backup:rw",
"share:rw",
"ssl"
],
"name": "Filebrowser",
"options": {
"ssl": false,
@@ -42,7 +54,10 @@
"ports_description": {
"8080/tcp": "Web UI port"
},
"privileged": ["SYS_ADMIN", "DAC_READ_SEARCH"],
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": {
"ssl": "bool",
"certfile": "str",
@@ -56,8 +71,8 @@
},
"slug": "filebrowser",
"startup": "services",
"upstream": "2.17.2",
"upstream": "2.18.0",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.17.2-7",
"version": "2.18.0",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
}

View File

@@ -1,6 +1,10 @@
- Allow mounting local drives by label. Just pust the label instead of sda1 for example
# 0.19.108 (31-10-2021)
## 0.19.116 (02-11-2021)
- Update to latest version from linuxserver/docker-jackett
## 0.19.108 (31-10-2021)
- Update to latest version from linuxserver/docker-jackett

View File

@@ -44,8 +44,8 @@
},
"slug": "jackett_nas",
"startup": "services",
"upstream": "0.19.108",
"upstream": "0.19.116",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "0.19.108",
"version": "0.19.116",
"webui": "http://[HOST]:[PORT:9117]"
}

View File

@@ -1,4 +1,7 @@
## 2.5.10 (02-11-2021)
- Update to latest version from laurent22/joplin
## 2.5.8 (31-10-2021)
- Update to latest version from laurent22/joplin

View File

@@ -1,7 +1,7 @@
{
"name": "Joplin Server",
"version": "2.5.8",
"upstream": "2.5.8",
"version": "2.5.10",
"upstream": "2.5.10",
"slug": "joplin",
"description": "Self-hosted open source note-taking application",
"url": "https://github.com/alexbelgium/hassio-addons",

View File

@@ -1,5 +1,6 @@
- Repaired use own certs
- Repair increment of trusted domains
- Repaired increment of trusted domains
- Repaired setting OCR language
## 22.2.0 (02-10-2021)
- Update to latest version from linuxserver/docker-nextcloud

View File

@@ -1,24 +1,16 @@
{
"name": "Nextcloud OCR",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "22.2.0-4",
"version": "22.2.0-5",
"upstream": "22.2.0",
"slug": "nextcloud_ocr",
"ingress": false,
"ingress_port": 0,
"arch": [
"aarch64",
"amd64",
"armv7"
],
"arch": ["aarch64", "amd64", "armv7"],
"description": "Nextcloud for Home Assistant",
"boot": "manual",
"uart": true,
"map": [
"share:rw",
"media:rw",
"ssl:rw"
],
"map": ["share:rw", "media:rw", "ssl:rw"],
"ports": {
"443/tcp": 8099,
"80/tcp": null

View File

@@ -0,0 +1,17 @@
#!/usr/bin/with-contenv bashio
# Install OCR if requested
if bashio::config.has_value 'test'; then
#apt-get install openjdk-8-jre
apt install apt-transport-https
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elasticsearch.list
apt update
apt install elasticsearch
systemctl daemon-reload \
&& systemctl enable elasticsearch\
&& systemctl start elasticsearch
/usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
systemctl restart elasticsearch
fi

View File

@@ -4,24 +4,15 @@
if bashio::config.has_value 'OCR'; then
if $(bashio::config 'OCR') = true; then
bashio::log.info 'Installing OCR'
apk add --no-cache tesseract-ocr@community
apk add --no-cache tesseract-ocr || apk add --no-cache tesseract-ocr@community
# Install additional language if requested
if bashio::config.has_value 'OCRLANG'; then
bashio::log.info 'Installing OCR language'
apk add --no-cache tesseract-ocr-data-$(bashio::config 'OCRLANG')@community
LANG=$(bashio::config 'OCRLANG')
bashio::log.info "Installing OCR language : $LANG"
apk add --no-cache tesseract-ocr-data-$LANG || apk add --no-cache tesseract-ocr-data-$LANG@community
fi
elif $(bashio::config 'OCR') = false; then
bashio::log.info 'Removing OCR'
apk del tesseract-ocr.* || true
fi
fi
# Add additional trusted domains
# if bashio::config.has_value 'Trusted_Domains'; then
# TRUSTEDDOMAINS=$(bashio::config 'Trusted_Domains')
# for domains in $TRUSTEDDOMAINS
# do
# ./occ config:system:set trusted_domains 2 --value=$domains
# done || \
# fi