{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1354d47f-d795-4ebe-9fc7-059ae13b5c07",
    "slug": "image-optimiser-and-resizer",
    "name": "Image Optimiser and Resizer",
    "description": "Self-hosted image optimizer",
    "url": "https://railway.com/deploy/image-optimiser-and-resizer",
    "upstream": {
      "repo_url": "https://github.com/rohit-gh/image-resizer-railway"
    }
  },
  "services": [
    {
      "name": "image-resizer-railway",
      "source": {
        "repo": "https://github.com/rohit-gh/image-resizer-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "image-resizer-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "image-optimiser-and-resizer"
      }
    },
    "cli": "railway deploy --template image-optimiser-and-resizer",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1354d47f-d795-4ebe-9fc7-059ae13b5c07",
            "serializedConfig": {
              "services": {
                "655566eb-668f-4d6d-8eb9-b59acdd6d45c": {
                  "name": "image-resizer-railway",
                  "source": {
                    "repo": "rohit-gh/image-resizer-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "3000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T08:48:48.540Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0e7c26acf5054dc885cc",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "image-resizer-railway"
  }
}
