{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5ffa6b42-0331-428d-b102-0f1935022763",
    "slug": "tailscale-forwarder",
    "name": "Tailscale Forwarder",
    "description": "Connect to Railway services that are not publicly accessible",
    "url": "https://railway.com/deploy/tailscale-forwarder",
    "upstream": {
      "image": "ghcr.io/brody192/tailscale-forwarder:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Tailscale Forwarder",
      "source": {
        "image": "ghcr.io/brody192/tailscale-forwarder:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TS_AUTHKEY",
      "service": "Tailscale Forwarder",
      "description": "Your Tailscale Auth Key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TS_HOSTNAME",
      "service": "Tailscale Forwarder",
      "description": "The hostname to use for the Tailscale machine.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TS_EPHEMERAL",
      "service": "Tailscale Forwarder",
      "description": "Run Tailscale as a persistent machine.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "TS_STATE_DIR",
      "service": "Tailscale Forwarder",
      "description": "The location in which Tailscale's state is stored.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CONNECTION_MAPPING_01",
      "service": "Tailscale Forwarder",
      "description": "The connection mapping for the initial service; add more by incrementing the index.&nbsp;See the [README](https://github.com/brody192/tailscale-forwarder?tab=readme-ov-file#usage) for supported syntax.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tailscale-forwarder"
      }
    },
    "cli": "railway deploy --template tailscale-forwarder",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5ffa6b42-0331-428d-b102-0f1935022763",
            "serializedConfig": {
              "services": {
                "94d65d10-ba4c-4028-bc96-e7adf1197bc1": {
                  "icon": "https://devicons.railway.app/Tailscale%20Subnet%20Router?variant=light",
                  "name": "Tailscale Forwarder",
                  "source": {
                    "image": "ghcr.io/brody192/tailscale-forwarder:latest"
                  },
                  "variables": {
                    "TS_AUTHKEY": {
                      "isOptional": false,
                      "description": "Your Tailscale Auth Key.",
                      "defaultValue": "{{TS_AUTHKEY}}"
                    },
                    "TS_HOSTNAME": {
                      "isOptional": false,
                      "description": "The hostname to use for the Tailscale machine.",
                      "defaultValue": "${{RAILWAY_PROJECT_NAME}}-${{RAILWAY_ENVIRONMENT_NAME}}-${{RAILWAY_SERVICE_NAME}}"
                    },
                    "TS_EPHEMERAL": {
                      "isOptional": false,
                      "description": "Run Tailscale as a persistent machine.",
                      "defaultValue": "false"
                    },
                    "TS_STATE_DIR": {
                      "isOptional": false,
                      "description": "The location in which Tailscale's state is stored.",
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}"
                    },
                    "CONNECTION_MAPPING_01": {
                      "isOptional": false,
                      "description": "The connection mapping for the initial service; add more by incrementing the index.&nbsp;See the [README](https://github.com/brody192/tailscale-forwarder?tab=readme-ov-file#usage) for supported syntax.",
                      "defaultValue": "{{CONNECTION_MAPPING_01}}"
                    }
                  },
                  "volumeMounts": {
                    "94d65d10-ba4c-4028-bc96-e7adf1197bc1": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T10:14:39.124Z",
  "generator_version": "0.1.0"
}
