From a2c7f5896f275553e73d13f79763bfa1b612594b Mon Sep 17 00:00:00 2001 From: AeroXuk Date: Sat, 7 Feb 2026 04:03:12 +0000 Subject: [PATCH 1/2] feat(script): add tailscale --- .../apps/install-scripts/curated/index.md | 1 + docs/public/install-scripts/tailscale.json | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 docs/public/install-scripts/tailscale.json diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index baa1a43..e88db4f 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.3 KB | 2026-01-31 | | `sonarr` | [sonarr.json](/install-scripts/sonarr.json) | 1.2 KB | 2025-12-04 | | `syncthing` | [syncthing.json](/install-scripts/syncthing.json) | 2.0 KB | 2025-12-25 | +| `tailscale` | [tailscale.json](/install-scripts/tailscale.json) | 1.8 KB | 2026-02-07 | diff --git a/docs/public/install-scripts/tailscale.json b/docs/public/install-scripts/tailscale.json new file mode 100644 index 0000000..9972811 --- /dev/null +++ b/docs/public/install-scripts/tailscale.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "script": { + "version": "1.0.0", + "changeLog": "Initial Script" + }, + "requirements": { + "locations": [ + "ApplicationsPerformance" + ], + "specifications": [ + "2CORE", + "200MB" + ], + "permissions": [ + "READ_WRITE_LOCATIONS" + ] + }, + "installation_questions": [ + { + "question": "Hostname", + "description": "The hostname for Tailscale Node.\nOnly lowercase letters, numbers, and hyphens are allowed.\nSame as `--hostname` flag.", + "placeholder": "$SERVER_HOST_NAME", + "type": "text", + "key": "tailscale_hostname", + "required": true + }, + { + "question": "Auth Key", + "description": "The auth key for Tailscale Node.\nSame as `--authkey` flag.\nTo generate one: https://login.tailscale.com/admin/settings/keys", + "placeholder": "tskey-auth-xxxxxx", + "type": "text", + "key": "tailscale_auth_key", + "required": true + } + ], + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { + "path": "$LOCATION(ApplicationsPerformance)/tailscale/state", + "posix": true + } + ], + "app_values": { + "tailscale": { + "hostname": "$QUESTION(tailscale_hostname)", + "auth_key": "$QUESTION(tailscale_auth_key)", + "auth_once": true, + "reset": false, + "accept_dns": false, + "userspace": true, + "accept_routes": false, + "advertise_exit_node": false + }, + "network": { + "host_network": true + }, + "storage": { + "state": "$HOST_PATH($LOCATION(ApplicationsPerformance)/tailscale/state)" + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(5%, 1024)" + } + } + } +} \ No newline at end of file From e2f5a6cf214424196ef4ca43ccfd0bb04fd350ff Mon Sep 17 00:00:00 2001 From: AeroXuk <9274396+AeroXuk@users.noreply.github.com> Date: Sun, 8 Feb 2026 18:57:08 +0000 Subject: [PATCH 2/2] fix(script): Add support for serve config file --- docs/public/install-scripts/tailscale.json | 31 ++++++++++++---------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/docs/public/install-scripts/tailscale.json b/docs/public/install-scripts/tailscale.json index 9972811..429aab3 100644 --- a/docs/public/install-scripts/tailscale.json +++ b/docs/public/install-scripts/tailscale.json @@ -5,16 +5,9 @@ "changeLog": "Initial Script" }, "requirements": { - "locations": [ - "ApplicationsPerformance" - ], - "specifications": [ - "2CORE", - "200MB" - ], - "permissions": [ - "READ_WRITE_LOCATIONS" - ] + "locations": ["ApplicationsPerformance"], + "specifications": ["2CORE", "200MB"], + "permissions": ["READ_WRITE_LOCATIONS"] }, "installation_questions": [ { @@ -42,7 +35,8 @@ { "path": "$LOCATION(ApplicationsPerformance)/tailscale/state", "posix": true - } + }, + "$LOCATION(ApplicationsPerformance)/tailscale/config" ], "app_values": { "tailscale": { @@ -53,13 +47,22 @@ "accept_dns": false, "userspace": true, "accept_routes": false, - "advertise_exit_node": false + "advertise_exit_node": false, + "additional_envs": [ + { + "name": "TS_SERVE_CONFIG", + "value": "/config/serve.conf" + } + ] }, "network": { "host_network": true }, "storage": { - "state": "$HOST_PATH($LOCATION(ApplicationsPerformance)/tailscale/state)" + "state": "$HOST_PATH($LOCATION(ApplicationsPerformance)/tailscale/state)", + "additional_storage": [ + "$MOUNTED_HOST_PATH($LOCATION(ApplicationsPerformance)/tailscale/config, /config)" + ] }, "resources": { "limits": { @@ -68,4 +71,4 @@ } } } -} \ No newline at end of file +}