{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e176af5e-f8a4-4cea-bb37-35474548db98",
    "slug": "imgproxy",
    "name": "imgproxy",
    "description": "Fast and secure on the fly image processing",
    "url": "https://railway.com/deploy/imgproxy",
    "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": "Hex encoded key used for generating URL signatures.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_TTL",
      "service": "imgproxy/imgproxy",
      "description": "Duration in seconds used for the Cache-Control max-age directive. Default: 31536000.",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    },
    {
      "key": "IMGPROXY_SALT",
      "service": "imgproxy/imgproxy",
      "description": "Hex encoded salt used for generating URL signatures.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_USE_ETAG",
      "service": "imgproxy/imgproxy",
      "description": "Enables generation of the ETag header for HTTP cache control.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "imgproxy"
      }
    },
    "cli": "railway deploy --template imgproxy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e176af5e-f8a4-4cea-bb37-35474548db98",
            "serializedConfig": {
              "services": {
                "7f39f3f2-6870-480b-990b-42bd4251fce2": {
                  "icon": "https://docs.imgproxy.net/img/icon.svg",
                  "name": "imgproxy/imgproxy",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "ghcr.io/imgproxy/imgproxy"
                  },
                  "variables": {
                    "IMGPROXY_KEY": {
                      "isOptional": true,
                      "description": "Hex encoded key used for generating URL signatures.",
                      "defaultValue": "{{IMGPROXY_KEY}}"
                    },
                    "IMGPROXY_TTL": {
                      "isOptional": true,
                      "description": "Duration in seconds used for the Cache-Control max-age directive. Default: 31536000.",
                      "defaultValue": "31536000"
                    },
                    "IMGPROXY_SALT": {
                      "isOptional": true,
                      "description": "Hex encoded salt used for generating URL signatures.",
                      "defaultValue": "{{IMGPROXY_SALT}}"
                    },
                    "IMGPROXY_USE_ETAG": {
                      "isOptional": true,
                      "description": "Enables generation of the ETag header for HTTP cache control.",
                      "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": {
    "healthcheck": {
      "service": "imgproxy/imgproxy",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T22:14:40.394Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-14T01:22:05.446Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_dfe25f77cc10453fbba5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
