diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index 18e4e49..fdaac92 100644 --- a/docs/features/apps/install-scripts/curated/index.md +++ b/docs/features/apps/install-scripts/curated/index.md @@ -10,6 +10,7 @@ | `home-assistant` | [home-assistant.json](/install-scripts/home-assistant.json) | 1.4 KB | 2026-05-15 | | `immich` | [immich.json](/install-scripts/immich.json) | 1.6 KB | 2026-05-15 | | `jellyfin` | [jellyfin.json](/install-scripts/jellyfin.json) | 2.3 KB | 2026-05-15 | +| `jellystat` | [jellystat.json](/install-scripts/jellystat.json) | 1.6 KB | 2026-05-18 | | `lidarr` | [lidarr.json](/install-scripts/lidarr.json) | 1.4 KB | 2026-05-15 | | `nextcloud` | [nextcloud.json](/install-scripts/nextcloud.json) | 3.4 KB | 2026-05-15 | | `peanut` | [peanut.json](/install-scripts/peanut.json) | 911 B | 2026-05-15 | diff --git a/docs/public/install-scripts/jellystat.json b/docs/public/install-scripts/jellystat.json new file mode 100644 index 0000000..058ba0c --- /dev/null +++ b/docs/public/install-scripts/jellystat.json @@ -0,0 +1,65 @@ +{ + "version": 4, + "script": { + "version": "1.0.0", + "changeLog": "Initial" + }, + "installation_questions": [ + { + "question": "Are you using Jellyfin or Emby?", + "type": "select", + "key": "is_emby_api", + "required": true, + "options": [ + { + "text": "Jellyfin", + "value": "false" + }, + { + "text": "Emby", + "value": "true" + } + ], + "default": "false" + } + ], + "requirements": { + "locations": ["ApplicationsPerformance"], + "specifications": ["2CORE", "256MB"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [30176] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { "path": "$LOCATION(ApplicationsPerformance)/jellystat/backup", "snapshot": { "id": "backup" } }, + { "path": "$LOCATION(ApplicationsPerformance)/jellystat/postgres_data", "owner": { "user": "netdata", "group": "docker" }, "snapshot": { "id": "db" } } + ], + + "app_values": { + "jellystat": { + "db_password": "$RANDOM_STRING(7)", + "jwt_secret": "$RANDOM_STRING(7)", + "is_emby_api": "$QUESTION(is_emby_api)", + "additional_envs": [] + }, + "network": { + "web_port": { + "bind_mode": "published", + "port_number": 30176 + } + }, + "storage": { + "backup": "$HOST_PATH($LOCATION(ApplicationsPerformance)/jellystat/backup)", + "postgres_data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/jellystat/postgres_data)" + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(10%, 4096)" + } + } + } +} \ No newline at end of file