{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c83755ea-8b1c-4123-ad58-ed29509de778",
    "slug": "node-red",
    "name": "Node-RED",
    "description": "Node-RED deployment with 80+ popular contrib nodes pre-installed.",
    "url": "https://railway.com/deploy/node-red",
    "upstream": {
      "repo_url": "https://github.com/OpenSource-Templates/Node-RED"
    }
  },
  "services": [
    {
      "name": "Node-RED",
      "source": {
        "repo": "https://github.com/OpenSource-Templates/Node-RED"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Node-RED",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "1880"
    },
    {
      "key": "DOMAIN",
      "service": "Node-RED",
      "description": "Provide a value for DOMAIN.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Node-RED",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "NODE_RED_PASSWORD",
      "service": "Node-RED",
      "description": "Provide a value for NODE_RED_PASSWORD.",
      "secret": true,
      "strategy": "default",
      "default": "password"
    },
    {
      "key": "NODE_RED_USERNAME",
      "service": "Node-RED",
      "description": "Provide a value for NODE_RED_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "user"
    },
    {
      "key": "NODE_RED_CREDENTIAL_SECRET",
      "service": "Node-RED",
      "description": "Provide a value for NODE_RED_CREDENTIAL_SECRET.",
      "secret": true,
      "strategy": "default",
      "default": "83505975"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "node-red"
      }
    },
    "cli": "railway deploy --template node-red",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c83755ea-8b1c-4123-ad58-ed29509de778",
            "serializedConfig": {
              "services": {
                "5fa58c1e-ba48-43a1-8e3d-af57eac9a2d2": {
                  "icon": "https://nodered.org/about/resources/media/node-red-icon.png",
                  "name": "Node-RED",
                  "source": {
                    "repo": "OpenSource-Templates/Node-RED",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "1880"
                    },
                    "DOMAIN": {
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "defaultValue": "0"
                    },
                    "NODE_RED_PASSWORD": {
                      "defaultValue": "password"
                    },
                    "NODE_RED_USERNAME": {
                      "defaultValue": "user"
                    },
                    "NODE_RED_CREDENTIAL_SECRET": {
                      "defaultValue": "83505975"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:1880": {
                        "port": 1880
                      }
                    }
                  },
                  "volumeMounts": {
                    "5fa58c1e-ba48-43a1-8e3d-af57eac9a2d2": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T15:56:38.961Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c7e4321527a64c9c9080",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 195,
    "typical_build_seconds": 111,
    "typical_start_seconds": 20,
    "slowest_service": "Node-RED"
  }
}
