{
  "manifest_version": "1.0.0",
  "template": {
    "id": "15128669-c555-4050-bd74-2e777ec35980",
    "slug": "tailscale-golink",
    "name": "tailscale-golink",
    "description": "A shortlink service for your private network (tailnet).",
    "url": "https://railway.com/deploy/tailscale-golink",
    "upstream": {
      "image": "ghcr.io/tailscale/golink:latest"
    }
  },
  "services": [
    {
      "name": "golink",
      "source": {
        "image": "ghcr.io/tailscale/golink:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/nonroot",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TS_AUTHKEY",
      "service": "golink",
      "description": "Provide a Tailscale auth key to deploy golink. Ideally it should have a tag attached e.g. golink.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "golink",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tailscale-golink"
      }
    },
    "cli": "railway deploy --template tailscale-golink",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "15128669-c555-4050-bd74-2e777ec35980",
            "serializedConfig": {
              "services": {
                "70db1251-43c1-48f3-b47d-c33265e4f2c3": {
                  "icon": null,
                  "name": "golink",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "preDeployCommand": []
                  },
                  "source": {
                    "image": "ghcr.io/tailscale/golink:latest"
                  },
                  "variables": {
                    "TS_AUTHKEY": {
                      "isOptional": false,
                      "description": "Provide a Tailscale auth key to deploy golink. Ideally it should have a tag attached e.g. golink.",
                      "defaultValue": "{{TS_AUTHKEY}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "0"
                    }
                  },
                  "volumeMounts": {
                    "70db1251-43c1-48f3-b47d-c33265e4f2c3": {
                      "mountPath": "/home/nonroot"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T04:14:46.774Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T05:23:15.307Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1c58db36f455466d9337",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 53,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "golink"
  }
}
