From 07359d95e29b2ee5339758b3ce9897652fb1d788 Mon Sep 17 00:00:00 2001 From: acknologia <64101826+acknologia@users.noreply.github.com> Date: Mon, 18 May 2026 14:11:35 -0400 Subject: [PATCH] docspell v4 script --- .../apps/install-scripts/curated/index.md | 1 + docs/public/install-scripts/docspell.json | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 docs/public/install-scripts/docspell.json diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index 18e4e49..66b021e 100644 --- a/docs/features/apps/install-scripts/curated/index.md +++ b/docs/features/apps/install-scripts/curated/index.md @@ -4,6 +4,7 @@ | App | Download | Size | Last Modified | |---|---|---:|---| | `bazarr` | [bazarr.json](/install-scripts/bazarr.json) | 1.4 KB | 2026-05-15 | +| `docspell` | [docspell.json](/install-scripts/docspell.json) | 1.5 KB | 2026-05-18 | | `drawio` | [drawio.json](/install-scripts/drawio.json) | 634 B | 2026-05-15 | | `emby` | [emby.json](/install-scripts/emby.json) | 2.3 KB | 2026-05-15 | | `handbrake` | [handbrake.json](/install-scripts/handbrake.json) | 1.9 KB | 2026-05-15 | diff --git a/docs/public/install-scripts/docspell.json b/docs/public/install-scripts/docspell.json new file mode 100644 index 0000000..7e35782 --- /dev/null +++ b/docs/public/install-scripts/docspell.json @@ -0,0 +1,53 @@ +{ + "version": 4, + "script": { + "version": "1.0.0", + "changeLog": "Initial" + }, + "requirements": { + "locations": ["ApplicationsPerformance", "Documents"], + "specifications": ["2CORE", "256MB"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [30261] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { + "path": "$LOCATION(Documents)", + "network_share": true + }, + { "path": "$LOCATION(Documents)/docspell" }, + { "path": "$LOCATION(ApplicationsPerformance)/docspell/solr_data", "owner": { "user": "apps" }, "snapshot": { "id": "data" } }, + { "path": "$LOCATION(ApplicationsPerformance)/docspell/postgres_data", "owner": { "user": "netdata", "group": "docker" }, "snapshot": { "id": "db" } } + ], + "app_values": { + "docspell": { + "db_password": "$RANDOM_STRING(7)", + "server_secret": "$RANDOM_STRING(7)", + "joex_docker_runner": "true", + "additional_envs": [] + }, + "network": { + "web_port": { + "bind_mode": "published", + "port_number": 30261 + } + }, + "storage": { + "solr_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/docspell/solr_data)", + "postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/docspell/postgres_data)", + "additional_storage": [ + "$MOUNTED_HOST_PATH($LOCATION(Documents), /documents)" + ] + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(10%, 4096)" + } + } + } +} \ No newline at end of file