{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3108c93a-cf16-4dad-ab66-d12795a25919",
    "slug": "node-red-1",
    "name": "Node-RED",
    "description": "Flow-based programming tool for wiring together hardware devices, APIs, …",
    "url": "https://railway.com/deploy/node-red-1",
    "upstream": {
      "repo_url": "https://github.com/vergissberlin/railwayapp-nodered"
    }
  },
  "services": [
    {
      "name": "Node-RED",
      "source": {
        "repo": "https://github.com/vergissberlin/railwayapp-nodered"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NODE_RED_PASSWORD",
      "service": "Node-RED",
      "description": "Enter your password for the editor",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NODE_RED_USERNAME",
      "service": "Node-RED",
      "description": "Enter your username for the editor",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "NODE_RED_EDITOR_URI",
      "service": "Node-RED",
      "description": "The URI for the editor",
      "secret": false,
      "strategy": "default",
      "default": "/"
    },
    {
      "key": "NODE_RED_DASHBOARD_URI",
      "service": "Node-RED",
      "description": "The path for the ui dashboard",
      "secret": false,
      "strategy": "default",
      "default": "ui"
    },
    {
      "key": "NODE_RED_CREDENTIAL_SECRET",
      "service": "Node-RED",
      "description": "Secret token to secure your credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "node-red-1"
      }
    },
    "cli": "railway deploy --template node-red-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3108c93a-cf16-4dad-ab66-d12795a25919",
            "serializedConfig": {
              "services": {
                "99d626ab-9b7c-4cb9-b1a5-7b974c9f86fa": {
                  "name": "Node-RED",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/vergissberlin/railwayapp-nodered"
                  },
                  "variables": {
                    "NODE_RED_PASSWORD": {
                      "isOptional": false,
                      "description": "Enter your password for the editor",
                      "defaultValue": "{{NODE_RED_PASSWORD}}"
                    },
                    "NODE_RED_USERNAME": {
                      "isOptional": false,
                      "description": "Enter your username for the editor",
                      "defaultValue": "admin"
                    },
                    "NODE_RED_EDITOR_URI": {
                      "isOptional": true,
                      "description": "The URI for the editor",
                      "defaultValue": "/"
                    },
                    "NODE_RED_DASHBOARD_URI": {
                      "isOptional": true,
                      "description": "The path for the ui dashboard",
                      "defaultValue": "ui"
                    },
                    "NODE_RED_CREDENTIAL_SECRET": {
                      "isOptional": false,
                      "description": "Secret token to secure your credentials",
                      "defaultValue": "{{NODE_RED_CREDENTIAL_SECRET}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T10:05:11.912Z",
  "success_rate_30d": 0.2,
  "validation": {
    "last_run_id": "run_bcf01f5f99154666ba81",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "CRASHED"
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 40,
    "typical_start_seconds": 30,
    "slowest_service": "Node-RED"
  }
}
