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 - 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 mounting of devices up to sdg2
- Allow uploads >16mb - Allow uploads >16mb
- Allow local mount in protected mode - Allow local mount in protected mode

View File

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

View File

@@ -1,6 +1,11 @@
{ {
"apparmor": true, "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", "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": [ "devices": [
"/dev/sda1", "/dev/sda1",
@@ -24,7 +29,14 @@
"ingress": true, "ingress": true,
"ingress_port": 8099, "ingress_port": 8099,
"ingress_stream": true, "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", "name": "Filebrowser",
"options": { "options": {
"ssl": false, "ssl": false,
@@ -42,7 +54,10 @@
"ports_description": { "ports_description": {
"8080/tcp": "Web UI port" "8080/tcp": "Web UI port"
}, },
"privileged": ["SYS_ADMIN", "DAC_READ_SEARCH"], "privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"schema": { "schema": {
"ssl": "bool", "ssl": "bool",
"certfile": "str", "certfile": "str",
@@ -56,8 +71,8 @@
}, },
"slug": "filebrowser", "slug": "filebrowser",
"startup": "services", "startup": "services",
"upstream": "2.17.2", "upstream": "2.18.0",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.17.2-7", "version": "2.18.0",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]" "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 - 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 - Update to latest version from linuxserver/docker-jackett

View File

@@ -44,8 +44,8 @@
}, },
"slug": "jackett_nas", "slug": "jackett_nas",
"startup": "services", "startup": "services",
"upstream": "0.19.108", "upstream": "0.19.116",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "0.19.108", "version": "0.19.116",
"webui": "http://[HOST]:[PORT:9117]" "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) ## 2.5.8 (31-10-2021)
- Update to latest version from laurent22/joplin - Update to latest version from laurent22/joplin

View File

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

View File

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

View File

@@ -1,24 +1,16 @@
{ {
"name": "Nextcloud OCR", "name": "Nextcloud OCR",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "22.2.0-4", "version": "22.2.0-5",
"upstream": "22.2.0", "upstream": "22.2.0",
"slug": "nextcloud_ocr", "slug": "nextcloud_ocr",
"ingress": false, "ingress": false,
"ingress_port": 0, "ingress_port": 0,
"arch": [ "arch": ["aarch64", "amd64", "armv7"],
"aarch64",
"amd64",
"armv7"
],
"description": "Nextcloud for Home Assistant", "description": "Nextcloud for Home Assistant",
"boot": "manual", "boot": "manual",
"uart": true, "uart": true,
"map": [ "map": ["share:rw", "media:rw", "ssl:rw"],
"share:rw",
"media:rw",
"ssl:rw"
],
"ports": { "ports": {
"443/tcp": 8099, "443/tcp": 8099,
"80/tcp": null "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.has_value 'OCR'; then
if $(bashio::config 'OCR') = true; then if $(bashio::config 'OCR') = true; then
bashio::log.info 'Installing OCR' 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 # Install additional language if requested
if bashio::config.has_value 'OCRLANG'; then if bashio::config.has_value 'OCRLANG'; then
bashio::log.info 'Installing OCR language' LANG=$(bashio::config 'OCRLANG')
apk add --no-cache tesseract-ocr-data-$(bashio::config 'OCRLANG')@community 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 fi
elif $(bashio::config 'OCR') = false; then elif $(bashio::config 'OCR') = false; then
bashio::log.info 'Removing OCR' bashio::log.info 'Removing OCR'
apk del tesseract-ocr.* || true apk del tesseract-ocr.* || true
fi fi
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