Switch to paperless NGX

This commit is contained in:
Alexandre
2022-03-28 08:35:25 +02:00
parent 19218544f4
commit 08367a7737
15 changed files with 21 additions and 32 deletions

View File

@@ -58,7 +58,7 @@ https://github.com/alexbelgium/hassio-addons
### ✓ Documents management
- [Nextcloud OCR](nextcloud/) ![smb][smb-shield] : A Nextcloud container, brought to you by LinuxServer.io
- [Paperless NG](paperless_ng/) ![smb][smb-shield] : scan, index and archive all your physical documents
- [Paperless NGX](paperless_ngx/) ![smb][smb-shield] : scan, index and archive all your physical documents
- [Papermerge](papermerge/) ![smb][smb-shield] : Open source document management system (DMS)
- [Elasticsearch](elasticsearch/) : distributed, RESTful search and analytics engine capable of solving a growing number of use cases

View File

@@ -1,10 +0,0 @@
{
"build_from": {
"aarch64": "lscr.io/linuxserver/paperless-ng:arm64v8-latest",
"amd64": "lscr.io/linuxserver/paperless-ng:amd64-latest",
"armv7": "lscr.io/linuxserver/paperless-ng:arm32v7-latest"
},
"codenotary": {
"signer": "alexandrep.github@gmail.com"
}
}

View File

@@ -1,3 +1,4 @@
- Major : switch to paperless NGX
- Add codenotary sign
- Cleanup: config base folder changed to /config/addons_config (thanks @bruvv)
- MultiOCR: in OCRLANG field use comma separated value. Ex: fra,deu (working)

View File

@@ -1,4 +1,4 @@
# Home assistant add-on: Paperless NG
# Home assistant add-on: Paperless NGX
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
@@ -18,7 +18,7 @@ _Thanks to everyone having starred my repo! To star it click on the image below,
## About
[Paperless NG](https://github.com/jonaswinkler/paperless-ng) is a cross-platform free and open-source BitTorrent client.
[Paperless NGX](https://github.com/paperless-ngx/paperless-ngx) is a cross-platform free and open-source BitTorrent client.
This addon is based on the docker image from [linuxserver.io](https://www.linuxserver.io/).
## Configuration
@@ -41,7 +41,7 @@ TZ: Europe/Paris # Sets a specific timezone
- Config.yaml
Custom env variables can be added to the config.yaml file referenced in the addon options. Full env variables can be found here : https://paperless-ng.readthedocs.io/en/latest/configuration.html. It must be entered in a valid yaml format, that is verified at launch of the addon.
Custom env variables can be added to the config.yaml file referenced in the addon options. Full env variables can be found here : https://paperless-ngx.readthedocs.io/en/latest/configuration.html. It must be entered in a valid yaml format, that is verified at launch of the addon.
## Installation
@@ -68,4 +68,4 @@ Create an issue on github
---
![illustration](https://paperless-ng.readthedocs.io/en/latest/_images/documents-smallcards.png)
![illustration](https://paperless-ngx.readthedocs.io/en/latest/_images/documents-smallcards.png)

View File

@@ -1,6 +1,6 @@
#include <tunables/global>
profile addon_db21ed7f_paperless_ng flags=(attach_disconnected,mediate_deleted) {
profile addon_db21ed7f_paperless_ngx flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
capability,

10
paperless_ngx/build.json Normal file
View File

@@ -0,0 +1,10 @@
{
"build_from": {
"aarch64": "lscr.io/linuxserver/paperless-ngx:arm64v8-latest",
"amd64": "lscr.io/linuxserver/paperless-ngx:amd64-latest",
"armv7": "lscr.io/linuxserver/paperless-ngx:arm32v7-latest"
},
"codenotary": {
"signer": "alexandrep.github@gmail.com"
}
}

View File

@@ -1,10 +1,6 @@
{
"apparmor": true,
"arch": [
"aarch64",
"amd64",
"armv7"
],
"arch": ["aarch64", "amd64", "armv7"],
"boot": "auto",
"codenotary": "alexandrep.github@gmail.com",
"description": "scan, index and archive all your physical documents",
@@ -44,13 +40,8 @@
"PGID": "0",
"PUID": "0"
},
"map": [
"config:rw",
"share:rw",
"media:rw",
"config:rw"
],
"name": "Paperless NG",
"map": ["config:rw", "share:rw", "media:rw", "config:rw"],
"name": "Paperless NGX",
"options": {
"CONFIG_LOCATION": "/config/addons_config/paperless_ng/config.yaml",
"PGID": 0,
@@ -62,10 +53,7 @@
"ports_description": {
"8000/tcp": "web interface"
},
"privileged": [
"SYS_ADMIN",
"DAC_READ_SEARCH"
],
"privileged": ["SYS_ADMIN", "DAC_READ_SEARCH"],
"schema": {
"CONFIG_LOCATION": "str",
"OCRLANG": "str?",

View File

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB