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" + ] + }, ]