mirror of
https://gitcode.com/waxgourd/addons
synced 2025-12-06 12:28:28 +08:00
首次推出emby、filebrowser、MyIP、NeteaseCloudMusicApi、nextcloud、zigbee2mqtt
This commit is contained in:
5
nextcloud/CHANGELOG.md
Normal file
5
nextcloud/CHANGELOG.md
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
## 28.0.0 (16-12-2023)
|
||||
- 升级最后的版本从linuxserver/docker-nextcloud
|
||||
### 27.1.4-6 (07-12-2023)
|
||||
- 首次提交
|
||||
95
nextcloud/DOCS.md
Normal file
95
nextcloud/DOCS.md
Normal file
@@ -0,0 +1,95 @@
|
||||
# Nextcloud
|
||||
|
||||
## 配置说明
|
||||
|
||||
### 全文索引
|
||||
|
||||
|
||||
|
||||
### OCR
|
||||
|
||||
设置为true以安装tesseract-ocr功能。
|
||||
|
||||
### OCR语言
|
||||
|
||||
任何语言都可以从这个页面设置(总是三个字母) [查询点击这里](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016)
|
||||
|
||||
### PGID
|
||||
|
||||
允许设置用户。
|
||||
|
||||
### PUID
|
||||
|
||||
允许设置用户。
|
||||
|
||||
### TZ
|
||||
|
||||
时区
|
||||
|
||||
### 附加应用程序
|
||||
|
||||
指定要安装的其他apk文件;用逗号分隔。
|
||||
|
||||
### 证书
|
||||
|
||||
ssl证书,必须位于本地ssl
|
||||
|
||||
### cifs域
|
||||
|
||||
cifs域
|
||||
|
||||
### cifs密码
|
||||
|
||||
可选项, smb密码,与smb shares密码相同
|
||||
|
||||
### cifs用户名
|
||||
|
||||
可选项, smb用户名,与smb shares用户名相同
|
||||
|
||||
### 默认电话区域
|
||||
|
||||
定义默认电话区域 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
|
||||
|
||||
### 禁用更新
|
||||
|
||||
防止插件自动更新应用程序。
|
||||
|
||||
### elasticsearch服务器
|
||||
|
||||
elasticsearch服务器url
|
||||
|
||||
### 启用缩略图
|
||||
|
||||
为媒体文件启用几代缩略图(在旧系统中禁用)。
|
||||
|
||||
### env_memory_limit
|
||||
|
||||
nextcloud可用内存限制(默认为512M)。
|
||||
|
||||
### env_post_max_size
|
||||
|
||||
nextcloud post文件大小 (默认为512M)。
|
||||
|
||||
### env_upload_max_filesize
|
||||
|
||||
nextcloud上传大小(默认为512M)。
|
||||
|
||||
### 密钥
|
||||
|
||||
ssl密钥,必须位于本地的ssl。
|
||||
|
||||
### 本地磁盘
|
||||
|
||||
用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS…
|
||||
|
||||
### 网络磁盘
|
||||
|
||||
可选,要挂载的smbv2/v3服务器列表,以逗号分隔
|
||||
|
||||
### 信任域
|
||||
|
||||
允许选择信任域。不在此列表中的域将被删除,除了初始配置中使用的第一个域。
|
||||
|
||||
### 使用自己的证书
|
||||
|
||||
如果为true,则使用指定的certfile和keyfile。
|
||||
38
nextcloud/README.md
Normal file
38
nextcloud/README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# 冬瓜甄选addons: Nextcloud
|
||||
|
||||
## About
|
||||
|
||||
nextcloud个人专属或团队共享的私有云同步网盘,该版本在原版nextcloud中增加了Home assistant的优化调整和配置选项。
|
||||
|
||||
原始版本来源 : https://github.com/haberda/hassio_addons
|
||||
这个加载项基于 linuxserver.io中[docker image](https://github.com/linuxserver/docker-nextcloud) 。
|
||||
|
||||
### 使用mariadb 作为主要的数据库 (感谢@amaciuc)
|
||||
|
||||
如果你在第一次运行webui时,注意以下警告:
|
||||
|
||||
```bash
|
||||
Performance warning
|
||||
You chose SQLite as database.
|
||||
SQLite should only be used for minimal and development instances. For production we recommend a different database backend.
|
||||
If you use clients for file syncing, the use of SQLite is highly discouraged.
|
||||
```
|
||||
|
||||
解决这个问题,请遵循以下步骤:
|
||||
|
||||
- 1. 安装 `mariadb` ,随机填写信息配置然后启动。为了在网络中能够被“nextcloud”找到,成功启动它很重要。
|
||||
- 2. 安装' nextcloud '插件(或者如果你已经安装了,重新启动它),观察日志,直到你会注意到以下'警告':
|
||||
|
||||
```bash
|
||||
WARNING: MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values :
|
||||
Database user : service
|
||||
Database password : Eangohyuchae6aif7saich2nies8xaivaejaNgaev6gi3yohy8ha2aexaetei6oh
|
||||
Database name : nextcloud
|
||||
Host-name : core-mariadb:3306
|
||||
```
|
||||
|
||||
- 3. 回到“mariadb”附加组件,用上面的凭据配置它并重新启动它。确保插件正在创建“netxcloud”数据库。G
|
||||
- 4. 进入web并填写所有必需的信息。下面是一个例子:
|
||||
|
||||

|
||||
|
||||
66
nextcloud/apparmor.txt
Normal file
66
nextcloud/apparmor.txt
Normal file
@@ -0,0 +1,66 @@
|
||||
#include <tunables/global>
|
||||
|
||||
profile nextcloud_addon flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
capability,
|
||||
file,
|
||||
signal,
|
||||
mount,
|
||||
umount,
|
||||
remount,
|
||||
network udp,
|
||||
network tcp,
|
||||
network dgram,
|
||||
network stream,
|
||||
network inet,
|
||||
network inet6,
|
||||
network netlink raw,
|
||||
network unix dgram,
|
||||
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
capability sys_admin,
|
||||
capability dac_read_search,
|
||||
# capability dac_override,
|
||||
# capability sys_rawio,
|
||||
|
||||
# S6-Overlay
|
||||
/init ix,
|
||||
/run/{s6,s6-rc*,service}/** ix,
|
||||
/package/** ix,
|
||||
/command/** ix,
|
||||
/run/{,**} rwk,
|
||||
/dev/tty rw,
|
||||
/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/fuse mrwkl,
|
||||
/dev/sda1 mrwkl,
|
||||
/dev/sdb1 mrwkl,
|
||||
/dev/nvme0 mrwkl,
|
||||
/dev/nvme1 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,
|
||||
|
||||
}
|
||||
140
nextcloud/config.json
Normal file
140
nextcloud/config.json
Normal file
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64"
|
||||
],
|
||||
"codenotary": "alexandrep.github@gmail.com",
|
||||
"description": "nextcloud个人专属或团队共享的私有云同步网盘",
|
||||
"devices": [
|
||||
"/dev/dri",
|
||||
"/dev/dri/card0",
|
||||
"/dev/dri/card1",
|
||||
"/dev/dri/renderD128",
|
||||
"/dev/vchiq",
|
||||
"/dev/video10",
|
||||
"/dev/video11",
|
||||
"/dev/video12",
|
||||
"/dev/video13",
|
||||
"/dev/video14",
|
||||
"/dev/video15",
|
||||
"/dev/video16",
|
||||
"/dev/ttyUSB0",
|
||||
"/dev/dri",
|
||||
"/dev/dri/card0",
|
||||
"/dev/dri/card1",
|
||||
"/dev/dri/renderD128",
|
||||
"/dev/sda",
|
||||
"/dev/sdb",
|
||||
"/dev/sdc",
|
||||
"/dev/sdd",
|
||||
"/dev/sde",
|
||||
"/dev/sdf",
|
||||
"/dev/sdg",
|
||||
"/dev/nvme",
|
||||
"/dev/nvme0n1p1",
|
||||
"/dev/nvme0n1p2",
|
||||
"/dev/mmcblk",
|
||||
"/dev/fuse",
|
||||
"/dev/sda1",
|
||||
"/dev/sdb1",
|
||||
"/dev/sdc1",
|
||||
"/dev/sdd1",
|
||||
"/dev/sde1",
|
||||
"/dev/sdf1",
|
||||
"/dev/sdg1",
|
||||
"/dev/sda2",
|
||||
"/dev/sdb2",
|
||||
"/dev/sdc2",
|
||||
"/dev/sdd2",
|
||||
"/dev/sde2",
|
||||
"/dev/sdf2",
|
||||
"/dev/sdg2",
|
||||
"/dev/sda3",
|
||||
"/dev/sdb3",
|
||||
"/dev/sda4",
|
||||
"/dev/sdb4",
|
||||
"/dev/sda5",
|
||||
"/dev/sda6",
|
||||
"/dev/sda7",
|
||||
"/dev/sda8",
|
||||
"/dev/nvme0",
|
||||
"/dev/nvme1",
|
||||
"/dev/nvme2"
|
||||
],
|
||||
"environment": {
|
||||
"NEXTCLOUD_PATH": "/data/config/www/nextcloud",
|
||||
"SKIP_DATA_DIRECTORY_PERMISSION_CHECK": "yes"
|
||||
},
|
||||
"hassio_api": true,
|
||||
"image": "ghcr.io/alexbelgium/nextcloud_ocr-{arch}",
|
||||
"ingress_port": 0,
|
||||
"init": false,
|
||||
"map": [
|
||||
"config:rw",
|
||||
"share:rw",
|
||||
"media:rw",
|
||||
"ssl:rw"
|
||||
],
|
||||
"name": "Nextcloud",
|
||||
"options": {
|
||||
"Full_Text_Search": false,
|
||||
"OCR": false,
|
||||
"OCRLANG": "chi_sim",
|
||||
"PGID": 1000,
|
||||
"PUID": 1000,
|
||||
"additional_apps": "inotify-tools",
|
||||
"certfile": "fullchain.pem",
|
||||
"elasticsearch_server": "<ip:port>",
|
||||
"enable_thumbnails": true,
|
||||
"keyfile": "privkey.pem",
|
||||
"trusted_domains": "your-domain, your-domain2",
|
||||
"use_own_certs": false
|
||||
},
|
||||
"panel_icon": "mdi:cloud",
|
||||
"ports": {
|
||||
"443/tcp": 8099,
|
||||
"80/tcp": null
|
||||
},
|
||||
"ports_description": {
|
||||
"443/tcp": "Https Web Interface",
|
||||
"80/tcp": "Web interface"
|
||||
},
|
||||
"privileged": [
|
||||
"SYS_ADMIN",
|
||||
"DAC_READ_SEARCH"
|
||||
],
|
||||
"schema": {
|
||||
"Full_Text_Search": "bool?",
|
||||
"OCR": "bool?",
|
||||
"OCRLANG": "str?",
|
||||
"PGID": "int",
|
||||
"PUID": "int",
|
||||
"TZ": "str?",
|
||||
"additional_apps": "str?",
|
||||
"certfile": "str",
|
||||
"cifsdomain": "str?",
|
||||
"cifspassword": "str?",
|
||||
"cifsusername": "str?",
|
||||
"default_phone_region": "match(^[A-Z]{2}$)?",
|
||||
"disable_updates": "bool?",
|
||||
"elasticsearch_server": "str?",
|
||||
"enable_thumbnails": "bool",
|
||||
"env_memory_limit": "str?",
|
||||
"env_post_max_size": "str?",
|
||||
"env_upload_max_filesize": "str?",
|
||||
"keyfile": "str",
|
||||
"localdisks": "str?",
|
||||
"networkdisks": "str?",
|
||||
"trusted_domains": "str?",
|
||||
"use_own_certs": "bool"
|
||||
},
|
||||
"services": [
|
||||
"mysql:want"
|
||||
],
|
||||
"slug": "nextcloud_ocr",
|
||||
"uart": true,
|
||||
"udev": true,
|
||||
"url": "https://gitcode.com/waxgourd/addons",
|
||||
"version": "28.0.0",
|
||||
"webui": "https://[HOST]:[PORT:443]"
|
||||
}
|
||||
BIN
nextcloud/icon.png
Normal file
BIN
nextcloud/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
BIN
nextcloud/images/nextcloud-1.png
Normal file
BIN
nextcloud/images/nextcloud-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
BIN
nextcloud/logo.png
Normal file
BIN
nextcloud/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
94
nextcloud/translations/en.yaml
Normal file
94
nextcloud/translations/en.yaml
Normal file
@@ -0,0 +1,94 @@
|
||||
---
|
||||
configuration:
|
||||
Full_Text_Search:
|
||||
name: Full_Text_Search
|
||||
description: >-
|
||||
|
||||
OCR:
|
||||
name: OCR
|
||||
description: >-
|
||||
set to true to install tesseract-ocr capability.
|
||||
OCRLANG:
|
||||
name: OCRLANG
|
||||
description: >-
|
||||
Any language can be set from this page (always three letters) [here](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016).
|
||||
PGID:
|
||||
name: PGID
|
||||
description: >-
|
||||
allows setting user.
|
||||
PUID:
|
||||
name: PUID
|
||||
description: >-
|
||||
allows setting user.
|
||||
TZ:
|
||||
name: TZ
|
||||
description: >-
|
||||
|
||||
additional_apps:
|
||||
name: additional_apps
|
||||
description: >-
|
||||
specify additional apk files to install ; separated by commas
|
||||
certfile:
|
||||
name: certfile
|
||||
description: >-
|
||||
ssl certificate, must be located in /ssl
|
||||
cifsdomain:
|
||||
name: cifsdomain
|
||||
description: >-
|
||||
|
||||
cifspassword:
|
||||
name: cifspassword
|
||||
description: >-
|
||||
optional, smb password, same for all smb shares)
|
||||
cifsusername:
|
||||
name: cifsusername
|
||||
description: >-
|
||||
optional, smb username, same for all smb shares
|
||||
default_phone_region:
|
||||
name: default_phone_region
|
||||
description: >-
|
||||
Define the default phone region according to https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
|
||||
disable_updates:
|
||||
name: disable_updates
|
||||
description: >-
|
||||
prevent automatic apps updating along addon
|
||||
elasticsearch_server:
|
||||
name: elasticsearch_server
|
||||
description: >-
|
||||
|
||||
enable_thumbnails:
|
||||
name: enable_thumbnails
|
||||
description: >-
|
||||
enable generations of thumbnails for media file (to disable for older systems)
|
||||
env_memory_limit:
|
||||
name: env_memory_limit
|
||||
description: >-
|
||||
nextcloud usable memory limit (default is 512M)
|
||||
env_post_max_size:
|
||||
name: env_post_max_size
|
||||
description: >-
|
||||
nextcloud post size (default is 512M)
|
||||
env_upload_max_filesize:
|
||||
name: env_upload_max_filesize
|
||||
description: >-
|
||||
nextcloud upload size (default is 512M)
|
||||
keyfile:
|
||||
name: keyfile
|
||||
description: >-
|
||||
sslkeyfile, must be located in /ssl
|
||||
localdisks:
|
||||
name: localdisks
|
||||
description: >-
|
||||
put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS...
|
||||
networkdisks:
|
||||
name: networkdisks
|
||||
description: >-
|
||||
optional, list of smbv2/3 servers to mount, separated by commas
|
||||
trusted_domains:
|
||||
name: trusted_domains
|
||||
description: >-
|
||||
allows to select the trusted domains. Domains not in this lis will be removed, except for the first one used in the initial configuration.
|
||||
use_own_certs:
|
||||
name: use_own_certs
|
||||
description: >-
|
||||
if true, use the certfile and keyfile specified
|
||||
94
nextcloud/translations/zh-Hans.yaml
Normal file
94
nextcloud/translations/zh-Hans.yaml
Normal file
@@ -0,0 +1,94 @@
|
||||
---
|
||||
configuration:
|
||||
Full_Text_Search:
|
||||
name: 全文索引
|
||||
description: >-
|
||||
|
||||
OCR:
|
||||
name: OCR
|
||||
description: >-
|
||||
设置为true以安装tesseract-ocr功能。
|
||||
OCRLANG:
|
||||
name: OCR语言
|
||||
description: >-
|
||||
任何语言都可以从这个页面设置(总是三个字母),相关查询见配置文档。
|
||||
PGID:
|
||||
name: PGID
|
||||
description: >-
|
||||
允许设置用户。
|
||||
PUID:
|
||||
name: PUID
|
||||
description: >-
|
||||
允许设置用户。
|
||||
TZ:
|
||||
name: TZ
|
||||
description: >-
|
||||
时区设置。
|
||||
additional_apps:
|
||||
name: 附加应用程序
|
||||
description: >-
|
||||
指定要安装的其他apk文件;用逗号分隔。
|
||||
certfile:
|
||||
name: 证书
|
||||
description: >-
|
||||
ssl证书,必须位于本地ssl。
|
||||
cifsdomain:
|
||||
name: cifs域
|
||||
description: >-
|
||||
|
||||
cifspassword:
|
||||
name: cifs密码
|
||||
description: >-
|
||||
可选项, smb密码,与smb shares密码相同。
|
||||
cifsusername:
|
||||
name: cifs用户名
|
||||
description: >-
|
||||
可选项, smb用户名,与smb shares用户名相同。
|
||||
default_phone_region:
|
||||
name: 默认电话区域
|
||||
description: >-
|
||||
定义默认电话区域 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
|
||||
disable_updates:
|
||||
name: 禁用更新
|
||||
description: >-
|
||||
防止插件自动更新应用程序。
|
||||
elasticsearch_server:
|
||||
name: elasticsearch服务器
|
||||
description: >-
|
||||
|
||||
enable_thumbnails:
|
||||
name: 启用缩略图
|
||||
description: >-
|
||||
为媒体文件启用几代缩略图(在旧系统中禁用)。
|
||||
env_memory_limit:
|
||||
name: 环境内存限制
|
||||
description: >-
|
||||
nextcloud可用内存限制(默认为512M)。
|
||||
env_post_max_size:
|
||||
name: env_post_max_size
|
||||
description: >-
|
||||
nextcloud post文件大小(默认为512M)。
|
||||
env_upload_max_filesize:
|
||||
name: env_upload_max_filesize
|
||||
description: >-
|
||||
nextcloud上传大小(默认为512M)。
|
||||
keyfile:
|
||||
name: 密钥
|
||||
description: >-
|
||||
ssl密钥,必须位于本地的ssl。
|
||||
localdisks:
|
||||
name: 本地磁盘
|
||||
description: >-
|
||||
用逗号分隔要挂载的驱动器的硬件名称或其标签。例如sda1, sdb1, MYNAS…
|
||||
networkdisks:
|
||||
name: 网络磁盘
|
||||
description: >-
|
||||
可选,要挂载的smbv2/v3服务器列表,以逗号分隔
|
||||
trusted_domains:
|
||||
name: 信任域
|
||||
description: >-
|
||||
允许选择信任域。不在此列表中的域将被删除,除了初始配置中使用的第一个域。
|
||||
use_own_certs:
|
||||
name: 使用自己的证书
|
||||
description: >-
|
||||
如果为true,则使用指定的certfile和keyfile。
|
||||
Reference in New Issue
Block a user