{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e3f9e485-aac4-476e-8ff2-184d3b80c5aa",
    "slug": "Rn4VSj",
    "name": "Stirling PDF",
    "description": "A local hosted web based PDF editor",
    "url": "https://railway.com/deploy/Rn4VSj",
    "upstream": {
      "image": "frooodle/s-pdf:latest"
    }
  },
  "services": [
    {
      "name": "Stirling PDF",
      "source": {
        "image": "frooodle/s-pdf:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/trainingData:/usr/share/tessdata",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Stirling PDF",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "LANGS",
      "service": "Stirling PDF",
      "description": "Provide a value for LANGS.",
      "secret": false,
      "strategy": "default",
      "default": "en_GB"
    },
    {
      "key": "DOCKER_ENABLE_SECURITY",
      "service": "Stirling PDF",
      "description": "Provide a value for DOCKER_ENABLE_SECURITY.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "INSTALL_BOOK_AND_ADVANCED_HTML_OPS",
      "service": "Stirling PDF",
      "description": "Provide a value for INSTALL_BOOK_AND_ADVANCED_HTML_OPS.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Rn4VSj"
      }
    },
    "cli": "railway deploy --template Rn4VSj",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e3f9e485-aac4-476e-8ff2-184d3b80c5aa",
            "serializedConfig": {
              "services": {
                "22154f29-3d72-4f86-890c-0d54ea4febcd": {
                  "icon": "https://raw.githubusercontent.com/Stirling-Tools/Stirling-PDF/main/docs/stirling.png",
                  "name": "Stirling PDF",
                  "source": {
                    "image": "frooodle/s-pdf:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "LANGS": {
                      "defaultValue": "en_GB"
                    },
                    "DOCKER_ENABLE_SECURITY": {
                      "defaultValue": "false"
                    },
                    "INSTALL_BOOK_AND_ADVANCED_HTML_OPS": {
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "22154f29-3d72-4f86-890c-0d54ea4febcd": {
                      "mountPath": "/trainingData:/usr/share/tessdata"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T11:19:06.926Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_08353fbc4e104a2699a2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 83,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Stirling PDF"
  }
}
