{
  "manifest_version": "1.0.0",
  "template": {
    "id": "527ad382-57dd-41b2-a991-91756a42c797",
    "slug": "docling-ocr-anything",
    "name": "Docling - OCR anything",
    "description": "Get any document AI / LLM Ready",
    "url": "https://railway.com/deploy/docling-ocr-anything",
    "upstream": {
      "repo_url": "https://github.com/bon5co/docling-railway-template"
    }
  },
  "services": [
    {
      "name": "caddy",
      "source": {
        "repo": "https://github.com/bon5co/docling-railway-template"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "docling",
      "source": {
        "image": "quay.io/docling-project/docling-serve-cpu:latest"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "caddy",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "CADDY_AUTHORIZATION",
      "service": "caddy",
      "description": "Bearer Authorization",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DOCLING_SERVE_ENABLE_UI",
      "service": "docling",
      "description": "Enables UI",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "docling-ocr-anything"
      }
    },
    "cli": "railway deploy --template docling-ocr-anything",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "527ad382-57dd-41b2-a991-91756a42c797",
            "serializedConfig": {
              "services": {
                "9a78b157-bbc3-481f-9f7a-583beeb703da": {
                  "name": "caddy",
                  "source": {
                    "repo": "bon5co/docling-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "CADDY_AUTHORIZATION": {
                      "description": "Bearer Authorization",
                      "defaultValue": "{{CADDY_AUTHORIZATION}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "ee438a70-a639-4306-9e25-f194022b8767": {
                  "name": "docling",
                  "deploy": {
                    "startCommand": "docling-serve run --host \"::\""
                  },
                  "source": {
                    "image": "quay.io/docling-project/docling-serve-cpu:latest"
                  },
                  "variables": {
                    "DOCLING_SERVE_ENABLE_UI": {
                      "description": "Enables UI",
                      "defaultValue": "0"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T22:56:18.073Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fc093423182f4e989630",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 104,
    "typical_build_seconds": 0,
    "typical_start_seconds": 33,
    "slowest_service": "docling"
  }
}
