{
  "manifest_version": "1.0.0",
  "template": {
    "id": "92859f77-1260-4686-b55e-9739e6caf626",
    "slug": "elasticsearch-engine",
    "name": "Elasticsearch engine",
    "description": "Elasticsearch: Open source search & analytics for speed, scale, and AI.",
    "url": "https://railway.com/deploy/elasticsearch-engine",
    "upstream": {
      "repo_url": "https://github.com/protemplate/elasticsearch-railway"
    }
  },
  "services": [
    {
      "name": "elasticsearch",
      "source": {
        "repo": "https://github.com/protemplate/elasticsearch-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/esdata",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "elasticsearch",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "ES_JAVA_OPTS",
      "service": "elasticsearch",
      "description": "Provide a value for ES_JAVA_OPTS.",
      "secret": false,
      "strategy": "default",
      "default": "-Xms500m -Xmx4g"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "elasticsearch",
      "description": "Provide a value for ELASTIC_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ELASTIC_USERNAME",
      "service": "elasticsearch",
      "description": "Provide a value for ELASTIC_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "elastic"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "elasticsearch-engine"
      }
    },
    "cli": "railway deploy --template elasticsearch-engine",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "92859f77-1260-4686-b55e-9739e6caf626",
            "serializedConfig": {
              "services": {
                "93909728-da6b-4747-888f-92011e566aab": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/elasticsearch.svg",
                  "name": "elasticsearch",
                  "source": {
                    "repo": "protemplate/elasticsearch-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "9200"
                    },
                    "ES_JAVA_OPTS": {
                      "defaultValue": "-Xms500m -Xmx4g"
                    },
                    "ELASTIC_PASSWORD": {
                      "defaultValue": "{{ELASTIC_PASSWORD}}"
                    },
                    "ELASTIC_USERNAME": {
                      "defaultValue": "elastic"
                    }
                  },
                  "volumeMounts": {
                    "93909728-da6b-4747-888f-92011e566aab": {
                      "mountPath": "/esdata"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T12:05:32.325Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_35e1229e3698485aa959",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 140,
    "typical_build_seconds": 51,
    "typical_start_seconds": 10,
    "slowest_service": "elasticsearch"
  }
}
