{
  "manifest_version": "1.0.0",
  "template": {
    "id": "393c9cd6-37f8-4b11-a8f5-b38878e41416",
    "slug": "ironclaw-1",
    "name": "IronClaw",
    "description": "IronClaw Pro Stack: private Iron Claw AI agent with persistent workspace.",
    "url": "https://railway.com/deploy/ironclaw-1",
    "upstream": {
      "image": "nearaidev/ironclaw@sha256:8af44a5a534b6b0059e86cb02f32d1614794e677357b6a31666bc5b656e463a3"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "IronClaw",
      "source": {
        "image": "nearaidev/ironclaw@sha256:8af44a5a534b6b0059e86cb02f32d1614794e677357b6a31666bc5b656e463a3"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "IronClaw",
      "description": "HTTP port used by Railway routing. Keep 3000.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "IronClaw",
      "description": "Official image initializes volume permissions before dropping privileges.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "IRONCLAW_REBORN_HOME",
      "service": "IronClaw",
      "description": "Persistent runtime home inside the /data volume.",
      "secret": false,
      "strategy": "default",
      "default": "/data/ironclaw-reborn"
    },
    {
      "key": "IRONCLAW_REBORN_PROFILE",
      "service": "IronClaw",
      "description": "Single-tenant persistent-volume profile. Keep this value for this layout.",
      "secret": false,
      "strategy": "default",
      "default": "hosted-single-tenant-volume"
    },
    {
      "key": "IRONCLAW_REBORN_SERVE_HOST",
      "service": "IronClaw",
      "description": "Listen on all container interfaces for Railway HTTPS.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "IRONCLAW_REBORN_SERVE_PORT",
      "service": "IronClaw",
      "description": "Native HTTP listener port. Keep 3000.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "IRONCLAW_REBORN_WEBUI_TOKEN",
      "service": "IronClaw",
      "description": "Generated private access token. Use it in the native web UI when prompted.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IRONCLAW_REBORN_WEBUI_USER_ID",
      "service": "IronClaw",
      "description": "Must match the default owner in the bundled profile: reborn-cli.",
      "secret": false,
      "strategy": "default",
      "default": "reborn-cli"
    },
    {
      "key": "IRONCLAW_REBORN_WORKSPACE_ROOT",
      "service": "IronClaw",
      "description": "Persistent workspace directory inside the /data volume.",
      "secret": false,
      "strategy": "default",
      "default": "/data/ironclaw-reborn/workspace"
    },
    {
      "key": "IRONCLAW_REBORN_SECRET_MASTER_KEY",
      "service": "IronClaw",
      "description": "Independent generated encryption secret. Keep stable and back up separately from the volume.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "IronClaw",
      "description": "Grace period for a clean shutdown.",
      "secret": false,
      "strategy": "default",
      "default": "30"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ironclaw-1"
      }
    },
    "cli": "railway deploy --template ironclaw-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "393c9cd6-37f8-4b11-a8f5-b38878e41416",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e8822e5c-8b15-4d2c-ba49-d5ff7a235019": {
                  "icon": "https://raw.githubusercontent.com/nearai/ironclaw/b0b999d96781516ee05e6ba961d6f3ead900da96/docs/images/logo/logo.svg",
                  "name": "IronClaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "nearaidev/ironclaw@sha256:8af44a5a534b6b0059e86cb02f32d1614794e677357b6a31666bc5b656e463a3"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port used by Railway routing. Keep 3000.",
                      "defaultValue": "3000"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Official image initializes volume permissions before dropping privileges.",
                      "defaultValue": "0"
                    },
                    "IRONCLAW_REBORN_HOME": {
                      "isOptional": false,
                      "description": "Persistent runtime home inside the /data volume.",
                      "defaultValue": "/data/ironclaw-reborn"
                    },
                    "IRONCLAW_REBORN_PROFILE": {
                      "isOptional": false,
                      "description": "Single-tenant persistent-volume profile. Keep this value for this layout.",
                      "defaultValue": "hosted-single-tenant-volume"
                    },
                    "IRONCLAW_REBORN_SERVE_HOST": {
                      "isOptional": false,
                      "description": "Listen on all container interfaces for Railway HTTPS.",
                      "defaultValue": "0.0.0.0"
                    },
                    "IRONCLAW_REBORN_SERVE_PORT": {
                      "isOptional": false,
                      "description": "Native HTTP listener port. Keep 3000.",
                      "defaultValue": "3000"
                    },
                    "IRONCLAW_REBORN_WEBUI_TOKEN": {
                      "isOptional": false,
                      "description": "Generated private access token. Use it in the native web UI when prompted.",
                      "defaultValue": "{{IRONCLAW_REBORN_WEBUI_TOKEN}}"
                    },
                    "IRONCLAW_REBORN_WEBUI_USER_ID": {
                      "isOptional": false,
                      "description": "Must match the default owner in the bundled profile: reborn-cli.",
                      "defaultValue": "reborn-cli"
                    },
                    "IRONCLAW_REBORN_WORKSPACE_ROOT": {
                      "isOptional": false,
                      "description": "Persistent workspace directory inside the /data volume.",
                      "defaultValue": "/data/ironclaw-reborn/workspace"
                    },
                    "IRONCLAW_REBORN_SECRET_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Independent generated encryption secret. Keep stable and back up separately from the volume.",
                      "defaultValue": "{{IRONCLAW_REBORN_SECRET_MASTER_KEY}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for a clean shutdown.",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "e8822e5c-8b15-4d2c-ba49-d5ff7a235019": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "IronClaw",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-22T16:15:02.275Z",
  "generator_version": "0.1.0"
}
