{
  "manifest_version": "1.0.0",
  "template": {
    "id": "90d4cefe-8aa5-43fe-b976-c5d32ed3aeed",
    "slug": "imagor-transform-images-on-demand",
    "name": "imagor - transform images on demand",
    "description": "Resize, crop, and optimize images on demand via simple URLs",
    "url": "https://railway.com/deploy/imagor-transform-images-on-demand",
    "upstream": {
      "image": "shumc/imagor"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "shumc/imagor",
      "source": {
        "image": "shumc/imagor"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DEBUG",
      "service": "shumc/imagor",
      "description": "Enable debug mode. 0, or off by default.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SERVER_CORS",
      "service": "shumc/imagor",
      "description": "Enable CORS. 0, or false by default.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "IMAGOR_SECRET",
      "service": "shumc/imagor",
      "description": "Secret for signing URLs. Required unless unsafe mode.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMAGOR_UNSAFE",
      "service": "shumc/imagor",
      "description": "(true / false) Unsafe mode (no URL signature).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ERVER_ACCESS_LOG",
      "service": "shumc/imagor",
      "description": "Enable HTTP access logging. 0, or false by default.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "imagor-transform-images-on-demand"
      }
    },
    "cli": "railway deploy --template imagor-transform-images-on-demand",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "90d4cefe-8aa5-43fe-b976-c5d32ed3aeed",
            "serializedConfig": {
              "services": {
                "2fe507f2-1864-4929-a2d1-5c6c6ed130fa": {
                  "name": "shumc/imagor",
                  "deploy": {
                    "healthcheckPath": "/healthcheck"
                  },
                  "source": {
                    "image": "shumc/imagor"
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": true,
                      "description": "Enable debug mode. 0, or off by default.",
                      "defaultValue": "0"
                    },
                    "SENTRY_DSN": {
                      "isOptional": true,
                      "description": "Sentry DSN to report errors to your Sentry.",
                      "defaultValue": ""
                    },
                    "SERVER_CORS": {
                      "isOptional": false,
                      "description": "Enable CORS. 0, or false by default.",
                      "defaultValue": "0"
                    },
                    "IMAGOR_SECRET": {
                      "isOptional": false,
                      "description": "Secret for signing URLs. Required unless unsafe mode.",
                      "defaultValue": "{{IMAGOR_SECRET}}"
                    },
                    "IMAGOR_UNSAFE": {
                      "isOptional": false,
                      "description": "(true / false) Unsafe mode (no URL signature).",
                      "defaultValue": "{{IMAGOR_UNSAFE}}"
                    },
                    "ERVER_ACCESS_LOG": {
                      "description": "Enable HTTP access logging. 0, or false by default.",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "shumc/imagor",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
