{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9c084aed-0cd0-420d-b82c-621bfd679d25",
    "slug": "inbox",
    "name": "Inbox",
    "description": "Dead-simple todo manager for AI agents. SQLite + MCP, nothing else.",
    "url": "https://railway.com/deploy/inbox",
    "upstream": {
      "repo_url": "https://github.com/davidhariri/inbox"
    }
  },
  "services": [
    {
      "name": "inbox",
      "source": {
        "repo": "https://github.com/davidhariri/inbox"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "inbox",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "SECRET_KEY",
      "service": "inbox",
      "description": "The secret encryption key for OAuth",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_PATH",
      "service": "inbox",
      "description": "Provide a value for DATABASE_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "/data/inbox.db"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "inbox"
      }
    },
    "cli": "railway deploy --template inbox",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9c084aed-0cd0-420d-b82c-621bfd679d25",
            "serializedConfig": {
              "services": {
                "8c2e2da2-3264-4948-aa66-462a82f98df2": {
                  "name": "inbox",
                  "source": {
                    "repo": "davidhariri/inbox",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8000"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "The secret encryption key for OAuth",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_PATH": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/inbox.db"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "8c2e2da2-3264-4948-aa66-462a82f98df2": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T18:38:36.598Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6a2c3f19c0cb4515ae8c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 75,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "inbox"
  }
}
