{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d75cff57-3b05-4396-96e9-2ad4f80017c7",
    "slug": "d7gCBH",
    "name": "imgproxy",
    "description": "Fast and secure standalone server for resizing and converting remote images",
    "url": "https://railway.com/deploy/d7gCBH",
    "upstream": {
      "image": "darthsim/imgproxy:v3.18.2"
    }
  },
  "services": [
    {
      "name": "imgproxy",
      "source": {
        "image": "darthsim/imgproxy:v3.18.2"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "IMGPROXY_KEY",
      "service": "imgproxy",
      "description": "Key used to verify signed URLs.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_TTL",
      "service": "imgproxy",
      "description": "Cache-Control header length in seconds. Default is 1 year.",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    },
    {
      "key": "IMGPROXY_SALT",
      "service": "imgproxy",
      "description": "Salt to use for signed URLs.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "IMGPROXY_USE_ETAG",
      "service": "imgproxy",
      "description": "Enables ETag for HTTP cache control.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "IMGPROXY_MAX_SRC_RESOLUTION",
      "service": "imgproxy",
      "description": "Images larger than this will be rejected. Default is 16.8 megapixels.",
      "secret": false,
      "strategy": "default",
      "default": "16.8"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "d7gCBH"
      }
    },
    "cli": "railway deploy --template d7gCBH",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d75cff57-3b05-4396-96e9-2ad4f80017c7",
            "serializedConfig": {
              "services": {
                "509bf070-53fb-4a53-8dfa-692b7611e52f": {
                  "name": "imgproxy",
                  "build": {},
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "darthsim/imgproxy:v3.18.2"
                  },
                  "variables": {
                    "IMGPROXY_KEY": {
                      "isOptional": true,
                      "description": "Key used to verify signed URLs.",
                      "defaultValue": "{{IMGPROXY_KEY}}"
                    },
                    "IMGPROXY_TTL": {
                      "isOptional": true,
                      "description": "Cache-Control header length in seconds. Default is 1 year.",
                      "defaultValue": "31536000"
                    },
                    "IMGPROXY_SALT": {
                      "isOptional": false,
                      "description": "Salt to use for signed URLs.",
                      "defaultValue": "{{IMGPROXY_SALT}}"
                    },
                    "IMGPROXY_USE_ETAG": {
                      "isOptional": true,
                      "description": "Enables ETag for HTTP cache control.",
                      "defaultValue": "true"
                    },
                    "IMGPROXY_MAX_SRC_RESOLUTION": {
                      "isOptional": true,
                      "description": "Images larger than this will be rejected. Default is 16.8 megapixels.",
                      "defaultValue": "16.8"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "imgproxy",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T17:33:59.427Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_a49a58d9ab41497bb35f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
