From db466cb481f640c05ebfc428d1b456098f83084b Mon Sep 17 00:00:00 2001 From: acknologia <64101826+acknologia@users.noreply.github.com> Date: Mon, 18 May 2026 14:38:40 -0400 Subject: [PATCH] wiki.js v4 script --- .../apps/install-scripts/curated/index.md | 1 + docs/public/install-scripts/wiki-js.json | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 docs/public/install-scripts/wiki-js.json diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index 18e4e49..639fa79 100644 --- a/docs/features/apps/install-scripts/curated/index.md +++ b/docs/features/apps/install-scripts/curated/index.md @@ -20,4 +20,5 @@ | `scrutiny` | [scrutiny.json](/install-scripts/scrutiny.json) | 1.4 KB | 2026-05-15 | | `sonarr` | [sonarr.json](/install-scripts/sonarr.json) | 1.3 KB | 2026-05-15 | | `syncthing` | [syncthing.json](/install-scripts/syncthing.json) | 2.6 KB | 2026-05-15 | +| `wiki-js` | [wiki-js.json](/install-scripts/wiki-js.json) | 1.1 KB | 2026-05-18 | diff --git a/docs/public/install-scripts/wiki-js.json b/docs/public/install-scripts/wiki-js.json new file mode 100644 index 0000000..104a422 --- /dev/null +++ b/docs/public/install-scripts/wiki-js.json @@ -0,0 +1,45 @@ +{ + "version": 4, + "script": { + "version": "1.0.0", + "changeLog": "Initial" + }, + "requirements": { + "locations": ["ApplicationsPerformance"], + "specifications": ["2CORE", "256MB"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [30244, 30245] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { "path": "$LOCATION(ApplicationsPerformance)/wiki_js/postgres_data", "owner": { "user": "netdata", "group": "docker" }, "snapshot": { "id": "db" } } + ], + "app_values": { + "wiki_js": { + "db_password": "$RANDOM_STRING(7)", + "additional_envs": [] + }, + "network": { + "http_port": { + "bind_mode": "published", + "port_number": 30244 + }, + "https_port": { + "bind_mode": "published", + "port_number": 30245 + } + }, + "storage": { + "postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/wiki_js/postgres_data)" + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(10%, 4096)" + } + } + } +} \ No newline at end of file