{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5dd903c9-8fca-456c-bb0e-709b76c121d3",
    "slug": "node-red-or-just-updated-flow-automation",
    "name": "Node-RED | (Just Updated) Flow Automation Whose Editor Isn't Open to Strangers",
    "description": "Low-code flow automation, editor login-protected, flows survive redeploys",
    "url": "https://railway.com/deploy/node-red-or-just-updated-flow-automation",
    "upstream": {
      "image": "ghcr.io/bon5co/node-red-railway:5.0.4"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "node-red",
      "source": {
        "image": "ghcr.io/bon5co/node-red-railway:5.0.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NODE_RED_PASSWORD",
      "service": "node-red",
      "description": "Provide a value for NODE_RED_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NODE_RED_USERNAME",
      "service": "node-red",
      "description": "Provide a value for NODE_RED_USERNAME.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NODE_RED_CREDENTIAL_SECRET",
      "service": "node-red",
      "description": "Provide a value for NODE_RED_CREDENTIAL_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "node-red-or-just-updated-flow-automation"
      }
    },
    "cli": "railway deploy --template node-red-or-just-updated-flow-automation",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5dd903c9-8fca-456c-bb0e-709b76c121d3",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c139a15e-7d7c-4414-9098-f67d526d347d": {
                  "icon": null,
                  "name": "node-red",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/node-red-railway:5.0.4"
                  },
                  "variables": {
                    "NODE_RED_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{NODE_RED_PASSWORD}}"
                    },
                    "NODE_RED_USERNAME": {
                      "isOptional": false,
                      "defaultValue": "{{NODE_RED_USERNAME}}"
                    },
                    "NODE_RED_CREDENTIAL_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{NODE_RED_CREDENTIAL_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "c139a15e-7d7c-4414-9098-f67d526d347d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "node-red",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
