{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1fab3465-50d5-46c6-9d13-90932b1f370d",
    "slug": "stirling-pdf-ocr-toolkit",
    "name": "Stirling PDF — 50+ Self-Hosted PDF Tools + OCR",
    "description": "Private PDF toolkit — merge, OCR, sign, convert, with login",
    "url": "https://railway.com/deploy/stirling-pdf-ocr-toolkit",
    "upstream": {
      "image": "stirlingtools/stirling-pdf:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "stirling-pdf",
      "source": {
        "image": "stirlingtools/stirling-pdf:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/configs",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SECURITY_ENABLELOGIN",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_ENABLELOGIN.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SYSTEM_DEFAULTLOCALE",
      "service": "stirling-pdf",
      "description": "Provide a value for SYSTEM_DEFAULTLOCALE.",
      "secret": false,
      "strategy": "default",
      "default": "en-US"
    },
    {
      "key": "DOCKER_ENABLE_SECURITY",
      "service": "stirling-pdf",
      "description": "Provide a value for DOCKER_ENABLE_SECURITY.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SECURITY_INITIALLOGIN_PASSWORD",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_INITIALLOGIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SECURITY_INITIALLOGIN_USERNAME",
      "service": "stirling-pdf",
      "description": "Provide a value for SECURITY_INITIALLOGIN_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "stirling-pdf-ocr-toolkit"
      }
    },
    "cli": "railway deploy --template stirling-pdf-ocr-toolkit",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1fab3465-50d5-46c6-9d13-90932b1f370d",
            "serializedConfig": {
              "services": {
                "50a2f2ad-9cf5-450a-b4cd-64ae910ca728": {
                  "icon": "https://raw.githubusercontent.com/Stirling-Tools/Stirling-PDF/main/docs/stirling.png",
                  "name": "stirling-pdf",
                  "source": {
                    "image": "stirlingtools/stirling-pdf:latest"
                  },
                  "variables": {
                    "SECURITY_ENABLELOGIN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "SYSTEM_DEFAULTLOCALE": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "en-US"
                    },
                    "DOCKER_ENABLE_SECURITY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "SECURITY_INITIALLOGIN_PASSWORD": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{SECURITY_INITIALLOGIN_PASSWORD}}"
                    },
                    "SECURITY_INITIALLOGIN_USERNAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "admin"
                    }
                  },
                  "volumeMounts": {
                    "50a2f2ad-9cf5-450a-b4cd-64ae910ca728": {
                      "mountPath": "/configs"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T17:54:19.363Z",
  "generator_version": "0.1.0"
}
