{
  "manifest_version": "1.0.0",
  "template": {
    "id": "fc4f93e5-5daf-4c18-b62a-3d7deae09f8e",
    "slug": "stirling-pdf-5",
    "name": "Stirling PDF",
    "description": "Self-hosted web tools to merge, split, convert and edit PDFs",
    "url": "https://railway.com/deploy/stirling-pdf-5",
    "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": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "stirling-pdf-5"
      }
    },
    "cli": "railway deploy --template stirling-pdf-5",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "fc4f93e5-5daf-4c18-b62a-3d7deae09f8e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "bc8109c0-9a1f-4e5a-ac62-f680389ec2b0": {
                  "icon": null,
                  "name": "Stirling PDF",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/info/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "stirlingtools/stirling-pdf:latest"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "bc8109c0-9a1f-4e5a-ac62-f680389ec2b0": {
                      "mountPath": "/configs"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Stirling PDF",
      "method": "GET",
      "path": "/api/v1/info/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T16:14:50.905Z",
  "generator_version": "0.1.0"
}
