{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1d27b791-e0cb-49cf-91cb-b745c0d555c9",
    "slug": "stirling-pdf-all-in-one-pdf-tools",
    "name": "Stirling PDF (All-in-One PDF Tools)",
    "description": "Self-hosted PDF toolkit: merge, split, convert, OCR, sign & compress.",
    "url": "https://railway.com/deploy/stirling-pdf-all-in-one-pdf-tools",
    "upstream": {
      "image": "stirlingtools/stirling-pdf:latest"
    }
  },
  "services": [
    {
      "name": "stirling-pdf",
      "source": {
        "image": "stirlingtools/stirling-pdf:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/configs",
      "http": true
    }
  ],
  "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-all-in-one-pdf-tools"
      }
    },
    "cli": "railway deploy --template stirling-pdf-all-in-one-pdf-tools",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1d27b791-e0cb-49cf-91cb-b745c0d555c9",
            "serializedConfig": {
              "services": {
                "b2d46081-5e62-4c4c-b874-84e188efcb1d": {
                  "name": "stirling-pdf",
                  "source": {
                    "image": "stirlingtools/stirling-pdf:latest"
                  },
                  "variables": {
                    "SECURITY_ENABLELOGIN": {
                      "defaultValue": "true"
                    },
                    "SYSTEM_DEFAULTLOCALE": {
                      "defaultValue": "en-US"
                    },
                    "DOCKER_ENABLE_SECURITY": {
                      "defaultValue": "true"
                    },
                    "SECURITY_INITIALLOGIN_PASSWORD": {
                      "defaultValue": "{{SECURITY_INITIALLOGIN_PASSWORD}}"
                    },
                    "SECURITY_INITIALLOGIN_USERNAME": {
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b2d46081-5e62-4c4c-b874-84e188efcb1d": {
                      "mountPath": "/configs"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T23:37:08.687Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bd1d4cb65a034626b985",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 60,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "stirling-pdf"
  }
}
