From 5b54ed11062e9c5fa4dd1ddfcc50d070f088a561 Mon Sep 17 00:00:00 2001 From: jwkwon0817 Date: Mon, 7 Apr 2025 18:24:39 +0900 Subject: [PATCH 1/7] Add Tailscale ExitNode blueprint with Docker configuration, SVG logo, and metadata --- .../tailscale-exitnode/docker-compose.yml | 16 +++++++++++++++ .../tailscale-exitnode/tailscale-exitnode.svg | 20 +++++++++++++++++++ blueprints/tailscale-exitnode/template.toml | 8 ++++++++ meta.json | 17 +++++++++++++++- 4 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 blueprints/tailscale-exitnode/docker-compose.yml create mode 100644 blueprints/tailscale-exitnode/tailscale-exitnode.svg create mode 100644 blueprints/tailscale-exitnode/template.toml diff --git a/blueprints/tailscale-exitnode/docker-compose.yml b/blueprints/tailscale-exitnode/docker-compose.yml new file mode 100644 index 0000000..f16cdf5 --- /dev/null +++ b/blueprints/tailscale-exitnode/docker-compose.yml @@ -0,0 +1,16 @@ +services: + tailscale-exitnode: + image: tailscale/tailscale:latest + hostname: ${TAILSCALE_HOSTNAME} + container_name: tailscale-exitnode-${TAILSCALE_HOSTNAME} + environment: + - TS_AUTHKEY=${TAILSCALE_AUTHKEY} + - TS_EXTRA_ARGS=--advertise-exit-node + - TS_STATE_DIR=/var/lib/tailscale + - TS_USERSPACE=true + volumes: + - tailscale_exitnode_data:/var/lib/tailscale + restart: always + +volumes: + tailscale_exitnode_data: \ No newline at end of file diff --git a/blueprints/tailscale-exitnode/tailscale-exitnode.svg b/blueprints/tailscale-exitnode/tailscale-exitnode.svg new file mode 100644 index 0000000..436c353 --- /dev/null +++ b/blueprints/tailscale-exitnode/tailscale-exitnode.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/blueprints/tailscale-exitnode/template.toml b/blueprints/tailscale-exitnode/template.toml new file mode 100644 index 0000000..7799197 --- /dev/null +++ b/blueprints/tailscale-exitnode/template.toml @@ -0,0 +1,8 @@ +[variables] +main_domain = "${domain}" +tailscale_hostname = "" +tailscale_apikey = "" + +[config.env] +TAILSCALE_HOSTNAME = "${tailscale_hostname}" +TAILSCALE_APIKEY = "${tailscale_apikey}" \ No newline at end of file diff --git a/meta.json b/meta.json index fe02f67..812448a 100644 --- a/meta.json +++ b/meta.json @@ -2685,5 +2685,20 @@ "api", "self-hosted" ] - } + }, + { + "id": "tailscale-exitnode", + "name": "Tailscale Exit nodes", + "version": "1.0.0", + "description": "Tailscale ExitNode is a feature that lets you route your internet traffic through a specific device in your Tailscale network.", + "logo": "tailscale-exitnode.svg", + "links": { + "github": "https://github.com/tailscale-dev/docker-guide-code-examples", + "website": "https://tailscale.com/", + "docs": "https://tailscale.com/kb/1408/quick-guide-exit-nodes" + }, + "tags": [ + "network" + ] + }, ] From 37835ccc55c530e41119c98a8acf49e2774533da Mon Sep 17 00:00:00 2001 From: jwkwon0817 Date: Mon, 7 Apr 2025 18:26:27 +0900 Subject: [PATCH 2/7] Add Tailscale ExitNode entry to meta.json --- meta.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta.json b/meta.json index 812448a..9853545 100644 --- a/meta.json +++ b/meta.json @@ -2686,7 +2686,7 @@ "self-hosted" ] }, - { + { "id": "tailscale-exitnode", "name": "Tailscale Exit nodes", "version": "1.0.0", @@ -2700,5 +2700,5 @@ "tags": [ "network" ] - }, + } ] From 70992f317dd9b90e2cd9b2b1642d7a7346bb0966 Mon Sep 17 00:00:00 2001 From: jwkwon0817 Date: Mon, 7 Apr 2025 18:31:52 +0900 Subject: [PATCH 3/7] Refactor SVG for Tailscale ExitNode: replace circles with paths for improved rendering --- .../tailscale-exitnode/tailscale-exitnode.svg | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/blueprints/tailscale-exitnode/tailscale-exitnode.svg b/blueprints/tailscale-exitnode/tailscale-exitnode.svg index 436c353..733a8a5 100644 --- a/blueprints/tailscale-exitnode/tailscale-exitnode.svg +++ b/blueprints/tailscale-exitnode/tailscale-exitnode.svg @@ -1,13 +1,14 @@ - - - - - - - - - + + + + + + + + + + @@ -17,4 +18,4 @@ - \ No newline at end of file + From 90198f2e88798bdd03e0ba0a222354ed0e9a65bf Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 9 Apr 2025 01:12:04 -0600 Subject: [PATCH 4/7] Update blueprints/tailscale-exitnode/docker-compose.yml --- blueprints/tailscale-exitnode/docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/blueprints/tailscale-exitnode/docker-compose.yml b/blueprints/tailscale-exitnode/docker-compose.yml index f16cdf5..102efb9 100644 --- a/blueprints/tailscale-exitnode/docker-compose.yml +++ b/blueprints/tailscale-exitnode/docker-compose.yml @@ -2,7 +2,6 @@ services: tailscale-exitnode: image: tailscale/tailscale:latest hostname: ${TAILSCALE_HOSTNAME} - container_name: tailscale-exitnode-${TAILSCALE_HOSTNAME} environment: - TS_AUTHKEY=${TAILSCALE_AUTHKEY} - TS_EXTRA_ARGS=--advertise-exit-node From 55efdf5b6e1adf3608b566d3d1fec612acc14fa9 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 9 Apr 2025 01:12:08 -0600 Subject: [PATCH 5/7] Update blueprints/tailscale-exitnode/template.toml --- blueprints/tailscale-exitnode/template.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/blueprints/tailscale-exitnode/template.toml b/blueprints/tailscale-exitnode/template.toml index 7799197..78c6c30 100644 --- a/blueprints/tailscale-exitnode/template.toml +++ b/blueprints/tailscale-exitnode/template.toml @@ -1,7 +1,5 @@ [variables] main_domain = "${domain}" -tailscale_hostname = "" -tailscale_apikey = "" [config.env] TAILSCALE_HOSTNAME = "${tailscale_hostname}" From 6d90caa3cd717e4af5b2be99b38901ab93ab543d Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 9 Apr 2025 01:12:17 -0600 Subject: [PATCH 6/7] Update blueprints/tailscale-exitnode/template.toml --- blueprints/tailscale-exitnode/template.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprints/tailscale-exitnode/template.toml b/blueprints/tailscale-exitnode/template.toml index 78c6c30..6aebf8d 100644 --- a/blueprints/tailscale-exitnode/template.toml +++ b/blueprints/tailscale-exitnode/template.toml @@ -2,5 +2,5 @@ main_domain = "${domain}" [config.env] -TAILSCALE_HOSTNAME = "${tailscale_hostname}" -TAILSCALE_APIKEY = "${tailscale_apikey}" \ No newline at end of file +TAILSCALE_HOSTNAME = "" +TAILSCALE_APIKEY = "" \ No newline at end of file From 2bb50934e4ce4127c6066fb02e76f9a95ab05757 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 9 Apr 2025 01:12:49 -0600 Subject: [PATCH 7/7] Update blueprints/tailscale-exitnode/template.toml --- blueprints/tailscale-exitnode/template.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/blueprints/tailscale-exitnode/template.toml b/blueprints/tailscale-exitnode/template.toml index 6aebf8d..eac3e68 100644 --- a/blueprints/tailscale-exitnode/template.toml +++ b/blueprints/tailscale-exitnode/template.toml @@ -1,5 +1,3 @@ -[variables] -main_domain = "${domain}" [config.env] TAILSCALE_HOSTNAME = ""