{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a3fa6bc8-0cbb-4652-a7a2-c3aa1d6eb716",
    "slug": "tailscale-subnet-router",
    "name": "Tailscale Subnet Router",
    "description": "Reach ANY private service via Tailscale",
    "url": "https://railway.com/deploy/tailscale-subnet-router",
    "upstream": {
      "repo_url": "https://github.com/dotlouis/tailscale-rw"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "tailscale-rw",
      "source": {
        "repo": "https://github.com/dotlouis/tailscale-rw"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/tailscale",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TS_EXIT_NODE",
      "service": "tailscale-rw",
      "description": "true/false",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TAILSCALE_AUTHKEY",
      "service": "tailscale-rw",
      "description": "generate it from https://login.tailscale.com/admin/settings/keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tailscale-subnet-router"
      }
    },
    "cli": "railway deploy --template tailscale-subnet-router",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a3fa6bc8-0cbb-4652-a7a2-c3aa1d6eb716",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "36924bf6-7d45-42c4-b801-94b3d7276861": {
                  "icon": "https://github.com/dotlouis/tailscale-rw/blob/main/raycast/assets/icon.png?raw=true",
                  "name": "tailscale-rw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/dotlouis/tailscale-rw",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TS_EXIT_NODE": {
                      "isOptional": false,
                      "description": "true/false",
                      "defaultValue": "{{TS_EXIT_NODE}}"
                    },
                    "TAILSCALE_AUTHKEY": {
                      "isOptional": false,
                      "description": "generate it from https://login.tailscale.com/admin/settings/keys",
                      "defaultValue": "{{TAILSCALE_AUTHKEY}}"
                    }
                  },
                  "volumeMounts": {
                    "36924bf6-7d45-42c4-b801-94b3d7276861": {
                      "mountPath": "/var/lib/tailscale"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
