{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3111b38b-9117-4d34-90ed-629476484954",
    "slug": "starrocks-is-an-open-source-mpp-analytic",
    "name": "StarRocks",
    "description": "MySQL-compatible MPP analytics database for real-time queries at scale",
    "url": "https://railway.com/deploy/starrocks-is-an-open-source-mpp-analytic",
    "upstream": {
      "repo_url": "https://github.com/nick0lay/railway-templates"
    }
  },
  "services": [
    {
      "name": "StarRocks",
      "source": {
        "repo": "https://github.com/nick0lay/railway-templates"
      },
      "needs_volume": false,
      "tcp_ports": [
        9030
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "StarRocks",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "STARROCKS_PASSWORD",
      "service": "StarRocks",
      "description": "Provide a value for STARROCKS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "STARROCKS_IMAGE_TAG",
      "service": "StarRocks",
      "description": "Provide a value for STARROCKS_IMAGE_TAG.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "STARROCKS_BE_MEM_LIMIT",
      "service": "StarRocks",
      "description": "Provide a value for STARROCKS_BE_MEM_LIMIT.",
      "secret": false,
      "strategy": "default",
      "default": "80%"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "starrocks-is-an-open-source-mpp-analytic"
      }
    },
    "cli": "railway deploy --template starrocks-is-an-open-source-mpp-analytic",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3111b38b-9117-4d34-90ed-629476484954",
            "serializedConfig": {
              "services": {
                "700e2246-ddac-48dc-a114-5ecc6f3d41fb": {
                  "name": "StarRocks",
                  "source": {
                    "repo": "nick0lay/railway-templates",
                    "branch": null,
                    "rootDirectory": "/solutions/starrocks/starrocks"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "STARROCKS_PASSWORD": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "{{STARROCKS_PASSWORD}}"
                    },
                    "STARROCKS_IMAGE_TAG": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "latest"
                    },
                    "STARROCKS_BE_MEM_LIMIT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "80%"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "9030": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-07T05:58:00.361Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f22ca14504ff47d5afe7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 169,
    "typical_build_seconds": 62,
    "typical_start_seconds": 20,
    "slowest_service": "StarRocks"
  }
}
