{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a995e2a8-56c0-4e36-81da-03c7a96fe788",
    "slug": "repix",
    "name": "repix",
    "description": "Image transformation alternative to cloudinary, imgix, twicpics, imagekit",
    "url": "https://railway.com/deploy/repix",
    "upstream": {
      "image": "ghcr.io/bansal/repix:1.0.2"
    }
  },
  "services": [
    {
      "name": "repix",
      "source": {
        "image": "ghcr.io/bansal/repix:1.0.2"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CORS_ORIGIN",
      "service": "repix",
      "description": "Provide a value for CORS_ORIGIN.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "ALLOW_PRESETS",
      "service": "repix",
      "description": "Provide a value for ALLOW_PRESETS.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CACHE_CONTROL",
      "service": "repix",
      "description": "Provide a value for CACHE_CONTROL.",
      "secret": false,
      "strategy": "default",
      "default": "public, max-age=31536000, immutable"
    },
    {
      "key": "FETCH_TIMEOUT",
      "service": "repix",
      "description": "Provide a value for FETCH_TIMEOUT.",
      "secret": false,
      "strategy": "default",
      "default": "10000"
    },
    {
      "key": "SOURCE_PREFIX",
      "service": "repix",
      "description": "Provide a value for SOURCE_PREFIX.",
      "secret": false,
      "strategy": "default",
      "default": "https://"
    },
    {
      "key": "IMAGE_MAX_WIDTH",
      "service": "repix",
      "description": "Provide a value for IMAGE_MAX_WIDTH.",
      "secret": false,
      "strategy": "default",
      "default": "2048"
    },
    {
      "key": "CORS_CREDENTIALS",
      "service": "repix",
      "description": "Provide a value for CORS_CREDENTIALS.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "IMAGE_MAX_HEIGHT",
      "service": "repix",
      "description": "Provide a value for IMAGE_MAX_HEIGHT.",
      "secret": false,
      "strategy": "default",
      "default": "2048"
    },
    {
      "key": "ALLOW_ORIGINAL_IMAGE",
      "service": "repix",
      "description": "Provide a value for ALLOW_ORIGINAL_IMAGE.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "IMAGE_DEFAULT_QUALITY",
      "service": "repix",
      "description": "Provide a value for IMAGE_DEFAULT_QUALITY.",
      "secret": false,
      "strategy": "default",
      "default": "85"
    },
    {
      "key": "ALLOW_CUSTOM_TRANSFORMS",
      "service": "repix",
      "description": "Provide a value for ALLOW_CUSTOM_TRANSFORMS.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "repix"
      }
    },
    "cli": "railway deploy --template repix",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a995e2a8-56c0-4e36-81da-03c7a96fe788",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "453cd9ce-d504-4e9e-a8bd-f4331e8d8480": {
                  "icon": null,
                  "name": "repix",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bansal/repix:1.0.2"
                  },
                  "variables": {
                    "CORS_ORIGIN": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "*"
                    },
                    "ALLOW_PRESETS": {
                      "defaultValue": "true"
                    },
                    "CACHE_CONTROL": {
                      "defaultValue": "public, max-age=31536000, immutable"
                    },
                    "FETCH_TIMEOUT": {
                      "defaultValue": "10000"
                    },
                    "SOURCE_PREFIX": {
                      "defaultValue": "https://"
                    },
                    "IMAGE_MAX_WIDTH": {
                      "defaultValue": "2048"
                    },
                    "SOURCE_HOSTNAME": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "CORS_CREDENTIALS": {
                      "defaultValue": "false"
                    },
                    "IMAGE_MAX_HEIGHT": {
                      "defaultValue": "2048"
                    },
                    "LOG_OTLP_HEADERS": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "LOG_OTLP_ENDPOINT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "LOG_SAMPLING_INFO": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "ALLOW_ORIGINAL_IMAGE": {
                      "defaultValue": "true"
                    },
                    "IMAGE_DEFAULT_QUALITY": {
                      "defaultValue": "85"
                    },
                    "ALLOW_CUSTOM_TRANSFORMS": {
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "repix",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T16:14:47.755Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-13T19:20:26.166Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6ebdd43cb2eb43ca9d5f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 17,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "repix"
  }
}
