{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a3ee70f6-17cb-4280-81d0-1cba4a5f4b0a",
    "slug": "MF8Rcp",
    "name": "Image Service",
    "description": "Upload, serve, and process images. On-the-fly image optimization and more. ",
    "url": "https://railway.com/deploy/MF8Rcp",
    "upstream": {
      "repo_url": "https://github.com/jaredLunde/railway-image-service"
    }
  },
  "services": [
    {
      "name": "image-service",
      "source": {
        "repo": "https://github.com/jaredLunde/railway-image-service"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "image-service",
      "description": "Bind to TCPv4 host",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "SECRET_KEY",
      "service": "image-service",
      "description": "The secret key used to for accessing the key/value API",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "image-service",
      "description": "Volume permissions",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SIGNATURE_SECRET_KEY",
      "service": "image-service",
      "description": "The secret key used to sign and secure URLs.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "MF8Rcp"
      }
    },
    "cli": "railway deploy --template MF8Rcp",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a3ee70f6-17cb-4280-81d0-1cba4a5f4b0a",
            "serializedConfig": {
              "services": {
                "2b450f2d-f3dd-4c52-a6bf-505e4e4f4c29": {
                  "name": "image-service",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "jaredLunde/railway-image-service",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "description": "Bind to TCPv4 host",
                      "defaultValue": "0.0.0.0"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "The secret key used to for accessing the key/value API",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Volume permissions",
                      "defaultValue": "0"
                    },
                    "SIGNATURE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "The secret key used to sign and secure URLs.",
                      "defaultValue": "{{SIGNATURE_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "2b450f2d-f3dd-4c52-a6bf-505e4e4f4c29": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "image-service",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T10:23:15.633Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0f016ad45a624c61827e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 285,
    "typical_build_seconds": 186,
    "typical_start_seconds": 5,
    "slowest_service": "image-service"
  }
}
