Allow mariadb addon

This commit is contained in:
Alexandre
2021-12-28 10:03:45 +01:00
parent ce353d091a
commit 613b23cabb
3 changed files with 26 additions and 12 deletions

View File

@@ -1,14 +1,18 @@
- Provides MariaDB addon information to use it as database on first installation
- MultiOCR: in OCRLANG field use comma separated value. Ex: fra,deu - MultiOCR: in OCRLANG field use comma separated value. Ex: fra,deu
- Max file size increased to 10Go - Max file size increased to 10Go
- New standardized logic for Dockerfile build and packages installation - New standardized logic for Dockerfile build and packages installation
## 23.0.0 (30-11-2021) ## 23.0.0 (30-11-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 22.2.3 (16-11-2021) ## 22.2.3 (16-11-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 22.2.2 (13-11-2021) ## 22.2.2 (13-11-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
- Repaired use own certs - Repaired use own certs
- Repaired increment of trusted domains - Repaired increment of trusted domains
@@ -17,31 +21,39 @@
- Repaired default data setting in /share/nextcloud - Repaired default data setting in /share/nextcloud
## 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
- Faster reboot by only chowning files if user change - Faster reboot by only chowning files if user change
- BREAKING CHANGE : comma separated domains instead of list - BREAKING CHANGE : comma separated domains instead of list
- Allow usage of own certificates - Allow usage of own certificates
- OCR fixed - OCR fixed
- glibc compatibility added - glibc compatibility added
## 22.1.1 (31-08-2021) ## 22.1.1 (31-08-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 22.1.0 (07-08-2021) ## 22.1.0 (07-08-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 22.0.0 (07-07-2021) ## 22.0.0 (07-07-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 21.0.3 (02-07-2021) ## 21.0.3 (02-07-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 21.0.2 (20-05-2021) ## 21.0.2 (20-05-2021)
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 21.0.1 ## 21.0.1
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
## 21.0.0 ## 21.0.0
- Update to latest version from linuxserver/docker-nextcloud - Update to latest version from linuxserver/docker-nextcloud
- Enables PUID/GUID options - Enables PUID/GUID options

View File

@@ -7,19 +7,11 @@
"ingress": false, "ingress": false,
"hassio_api": true, "hassio_api": true,
"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
@@ -39,6 +31,7 @@
"Full_Text_Search": false, "Full_Text_Search": false,
"elasticsearch_server": "<ip:port>" "elasticsearch_server": "<ip:port>"
}, },
"services": ["mysql:want"],
"schema": { "schema": {
"PUID": "int", "PUID": "int",
"PGID": "int", "PGID": "int",

View File

@@ -0,0 +1,9 @@
#!/usr/bin/with-contenv bashio
if bashio::services.available 'mysql'; then
bashio::log.warning "MariaDB addon was found! It can't be configured automatically, but you can configure it manually using those values in the initial set-up :"
bashio::log.blue "Database user : $(bashio::services "mysql" "username")"
bashio::log.blue "Database password : $(bashio::services "mysql" "password")"
bashio::log.blue "Database name : nextcloud"
bashio::log.blue "Host-name : $(bashio::services "mysql" "host"):$(bashio::services "mysql" "port")"
fi