{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a8836bb4-1f0d-4650-9dbf-18cddb833d58",
    "slug": "thumbor-1",
    "name": "Thumbor",
    "description": "Smart on-demand image cropping, resizing and filtering service",
    "url": "https://railway.com/deploy/thumbor-1",
    "upstream": {
      "image": "ghcr.io/thumbor/thumbor:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Thumbor",
      "source": {
        "image": "ghcr.io/thumbor/thumbor:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SECURITY_KEY",
      "service": "Thumbor",
      "description": "Provide a value for SECURITY_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "thumbor-1"
      }
    },
    "cli": "railway deploy --template thumbor-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a8836bb4-1f0d-4650-9dbf-18cddb833d58",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0bb80f62-f6ae-4ab4-a7ba-f6c062d55b2f": {
                  "icon": null,
                  "name": "Thumbor",
                  "deploy": {
                    "startCommand": "sh -c 'printf \"ALLOW_UNSAFE_URL = False\\nSECURITY_KEY = \\\"%s\\\"\\n\" \"$SECURITY_KEY\" > /tmp/thumbor.conf && exec thumbor -c /tmp/thumbor.conf -i 0.0.0.0 -p 8080'",
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/thumbor/thumbor:latest"
                  },
                  "variables": {
                    "SECURITY_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{SECURITY_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Thumbor",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
