diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index d34c70f1..c10ec0e0 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.3 KB | 2025-12-25 | +| `codeserver` | [codeserver.json](/install-scripts/codeserver.json) | 1.3 KB | 2026-01-27 | | `drawio` | [drawio.json](/install-scripts/drawio.json) | 739 B | 2025-12-25 | | `emby` | [emby.json](/install-scripts/emby.json) | 2.2 KB | 2026-01-21 | | `handbrake` | [handbrake.json](/install-scripts/handbrake.json) | 1.8 KB | 2025-12-25 | diff --git a/docs/public/install-scripts/codeserver.json b/docs/public/install-scripts/codeserver.json new file mode 100644 index 00000000..11e3091f --- /dev/null +++ b/docs/public/install-scripts/codeserver.json @@ -0,0 +1,50 @@ +{ + "version": 3, + "script": { + "version": "1.0.0", + "changeLog": "Initial Script" + }, + "requirements": { + "locations": ["ApplicationsPerformance", "ApplicationsCapacity"], + "specifications": ["2CORE", "2048MB"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [30145] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsCapacity)", + "network_share": true + }, + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + "$LOCATION(ApplicationsPerformance)/codeserver/config", + "$LOCATION(ApplicationsCapacity)/codeserver/local", + "$LOCATION(ApplicationsCapacity)/codeserver/project" + ], + "app_values": { + "run_as": { + "user": 568, + "group": 568 + }, + "storage": { + "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/codeserver/config)", + "local": "$HOST_PATH($LOCATION(ApplicationsCapacity)/codeserver/local)", + "project": "$HOST_PATH($LOCATION(ApplicationsCapacity)/codeserver/project)" + }, + "network": { + "web_port": { + "bind_mode": "published", + "port_number": 30145 + }, + "host_network": false + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(10%, 2048)" + } + } + } +} \ No newline at end of file