{
  "manifest_version": "1.0.0",
  "template": {
    "id": "308b690d-1edd-4ded-a7d1-d4731ce1c34b",
    "slug": "img-proxy",
    "name": "imgproxy [Updated Sep ’26] (On-the-Fly Image Processing Server)",
    "description": "ImgProxy [Sep ’26] (Fast Resizing & CDN Alternative), Self Host",
    "url": "https://railway.com/deploy/img-proxy",
    "upstream": {
      "image": "ghcr.io/imgproxy/imgproxy"
    }
  },
  "services": [
    {
      "name": "imgproxy/imgproxy",
      "source": {
        "image": "ghcr.io/imgproxy/imgproxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "IMGPROXY_KEY",
      "service": "imgproxy/imgproxy",
      "description": "Provide a value for IMGPROXY_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_TTL",
      "service": "imgproxy/imgproxy",
      "description": "Provide a value for IMGPROXY_TTL.",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    },
    {
      "key": "IMGPROXY_SALT",
      "service": "imgproxy/imgproxy",
      "description": "Provide a value for IMGPROXY_SALT.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_USE_ETAG",
      "service": "imgproxy/imgproxy",
      "description": "Provide a value for IMGPROXY_USE_ETAG.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "img-proxy"
      }
    },
    "cli": "railway deploy --template img-proxy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "308b690d-1edd-4ded-a7d1-d4731ce1c34b",
            "serializedConfig": {
              "services": {
                "e241fbc5-0f36-48d0-8283-1d74c8f9432a": {
                  "name": "imgproxy/imgproxy",
                  "source": {
                    "image": "ghcr.io/imgproxy/imgproxy"
                  },
                  "variables": {
                    "IMGPROXY_KEY": {
                      "defaultValue": "{{IMGPROXY_KEY}}"
                    },
                    "IMGPROXY_TTL": {
                      "defaultValue": "31536000"
                    },
                    "IMGPROXY_SALT": {
                      "defaultValue": "{{IMGPROXY_SALT}}"
                    },
                    "IMGPROXY_USE_ETAG": {
                      "defaultValue": "true"
                    },
                    "IMGPROXY_ALLOW_ORIGIN": {
                      "isOptional": true,
                      "description": "Enables CORS headers for the specified origin. Default: not set.",
                      "defaultValue": ""
                    },
                    "IMGPROXY_ALLOWED_SOURCES": {
                      "isOptional": true,
                      "description": "Comma separated list of allowed source image URL prefixes with optional * wildcards. When not set, all source image URLs are allowed. Default: not set.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T18:14:59.329Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a57e50ba677646ed851f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 51,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "imgproxy/imgproxy"
  }
}
