{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6b507af7-c6ea-42fa-9a24-119a123f2dd7",
    "slug": "cromaaurora33live",
    "name": "Croma - Image optimizer",
    "description": "Optimiza, convierte y reescala tus imágenes",
    "url": "https://railway.com/deploy/cromaaurora33live",
    "upstream": {
      "repo_url": "https://github.com/aurora33labs/tool-croma-oss"
    }
  },
  "services": [
    {
      "name": "tool-croma-oss",
      "source": {
        "repo": "https://github.com/aurora33labs/tool-croma-oss"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NODE_ENV",
      "service": "tool-croma-oss",
      "description": "Provide a value for NODE_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "CLEANUP_INTERVAL",
      "service": "tool-croma-oss",
      "description": "Provide a value for CLEANUP_INTERVAL.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "NEXT_PUBLIC_HOST",
      "service": "tool-croma-oss",
      "description": "Provide a value for NEXT_PUBLIC_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "server"
    },
    {
      "key": "NEXT_PUBLIC_LEGAL",
      "service": "tool-croma-oss",
      "description": "Provide a value for NEXT_PUBLIC_LEGAL.",
      "secret": false,
      "strategy": "default",
      "default": "off"
    },
    {
      "key": "TRUST_FORWARDED_HOST",
      "service": "tool-croma-oss",
      "description": "Provide a value for TRUST_FORWARDED_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cromaaurora33live"
      }
    },
    "cli": "railway deploy --template cromaaurora33live",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6b507af7-c6ea-42fa-9a24-119a123f2dd7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0244eef8-0d89-436e-a801-2c5f755c497f": {
                  "icon": null,
                  "name": "tool-croma-oss",
                  "deploy": {
                    "startCommand": "npm run start",
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/aurora33labs/tool-croma-oss",
                    "rootDirectory": null
                  },
                  "variables": {
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "production"
                    },
                    "CLEANUP_INTERVAL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "60"
                    },
                    "NEXT_PUBLIC_HOST": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "server"
                    },
                    "NEXT_PUBLIC_LEGAL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "off"
                    },
                    "TRUST_FORWARDED_HOST": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "NEXT_PUBLIC_MAX_FILES": {
                      "isOptional": true,
                      "description": "Image limit per batch | Limite de imágenes por lote (default 20)",
                      "defaultValue": ""
                    },
                    "NEXT_PUBLIC_MAX_FILE_MB": {
                      "isOptional": true,
                      "description": "Image max size in MB | Tamaño maximo de imagen en MB (Default 10MB)",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tool-croma-oss",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-09T22:14:39.753Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T03:27:17.643Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_87193c97d43144b5adfd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 186,
    "typical_build_seconds": 107,
    "typical_start_seconds": 10,
    "slowest_service": "tool-croma-oss"
  }
}
