{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7bcdd683-f4bf-47ac-8fab-c9ac9bfe8089",
    "slug": "jodconverter",
    "name": "JODConverter",
    "description": "Convert Word, Excel and others to PDF (and back) through a simple REST API",
    "url": "https://railway.com/deploy/jodconverter",
    "upstream": {
      "repo_url": "https://github.com/olivier4429/JODTemplateRailway"
    }
  },
  "services": [
    {
      "name": "JODTemplateRailway",
      "source": {
        "repo": "https://github.com/olivier4429/JODTemplateRailway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NGINX_CLIENT_MAX_BODY_SIZE",
      "service": "JODTemplateRailway",
      "description": "Max request body size accepted by the nginx front proxy before it even reaches Spring Boot. Must be ≥ SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE, otherwise nginx returns 413 first.",
      "secret": false,
      "strategy": "default",
      "default": "25m"
    },
    {
      "key": "JODCONVERTER_LOCAL_PORT_NUMBERS",
      "service": "JODTemplateRailway",
      "description": "Number of parallel LibreOffice conversion workers",
      "secret": false,
      "strategy": "default",
      "default": "2002,2003"
    },
    {
      "key": "SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE",
      "service": "JODTemplateRailway",
      "description": "Maximum size accepted for a single uploaded file.",
      "secret": false,
      "strategy": "default",
      "default": "20MB"
    },
    {
      "key": "SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE",
      "service": "JODTemplateRailway",
      "description": "Maximum size accepted for the whole multipart request. Should stay in line with NGINX_CLIENT_MAX_BODY_SIZE.",
      "secret": false,
      "strategy": "default",
      "default": "20MB"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jodconverter"
      }
    },
    "cli": "railway deploy --template jodconverter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7bcdd683-f4bf-47ac-8fab-c9ac9bfe8089",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "497096b5-b122-4d83-81bc-2316b7d89df2": {
                  "icon": "https://devicons.railway.com/i/coder-light.png",
                  "name": "JODTemplateRailway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/swagger-ui/index.html",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/olivier4429/JODTemplateRailway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "API_KEYS": {
                      "isOptional": true,
                      "description": "empty = open ; otherwise a comma-separated list of keys",
                      "defaultValue": ""
                    },
                    "NGINX_CLIENT_MAX_BODY_SIZE": {
                      "isOptional": true,
                      "description": "Max request body size accepted by the nginx front proxy before it even reaches Spring Boot. Must be ≥ SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE, otherwise nginx returns 413 first.",
                      "defaultValue": "25m"
                    },
                    "JODCONVERTER_LOCAL_PORT_NUMBERS": {
                      "isOptional": true,
                      "description": "Number of parallel LibreOffice conversion workers",
                      "defaultValue": "2002,2003"
                    },
                    "SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE": {
                      "isOptional": true,
                      "description": "Maximum size accepted for a single uploaded file.",
                      "defaultValue": "20MB"
                    },
                    "SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE": {
                      "isOptional": true,
                      "description": "Maximum size accepted for the whole multipart request. Should stay in line with NGINX_CLIENT_MAX_BODY_SIZE.",
                      "defaultValue": "20MB"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "JODTemplateRailway",
      "method": "GET",
      "path": "/swagger-ui/index.html",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:50:55.547Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cba850731c9c4b019855",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 155,
    "typical_build_seconds": 91,
    "typical_start_seconds": 40,
    "slowest_service": "JODTemplateRailway"
  }
}
