{
  "manifest_version": "1.0.0",
  "template": {
    "id": "661d9e5c-d54d-4f5d-a7fd-42bc9275d3d3",
    "slug": "elasticsearch-or-just-updated-v9-search-",
    "name": "Elasticsearch | (Just Updated) v9 Search & Vector DB, Locked Down",
    "description": "Elasticsearch 9 search + vector DB. No anonymous reads, password resets.",
    "url": "https://railway.com/deploy/elasticsearch-or-just-updated-v9-search-",
    "upstream": {
      "image": "ghcr.io/bon5co/elasticsearch-railway@sha256:c7ee7e4eb04a78b22b2be03b46181816f712dbc9391d09125c00441b4253e358"
    }
  },
  "services": [
    {
      "name": "elasticsearch",
      "source": {
        "image": "ghcr.io/bon5co/elasticsearch-railway@sha256:c7ee7e4eb04a78b22b2be03b46181816f712dbc9391d09125c00441b4253e358"
      },
      "needs_volume": true,
      "volume_mount_path": "/usr/share/elasticsearch/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ELASTIC_PASSWORD",
      "service": "elasticsearch",
      "description": "Provide a value for ELASTIC_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ELASTICSEARCH_URL",
      "service": "elasticsearch",
      "description": "Provide a value for ELASTICSEARCH_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ELASTICSEARCH_PRIVATE_URL",
      "service": "elasticsearch",
      "description": "Provide a value for ELASTICSEARCH_PRIVATE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "elasticsearch-or-just-updated-v9-search-"
      }
    },
    "cli": "railway deploy --template elasticsearch-or-just-updated-v9-search-",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "661d9e5c-d54d-4f5d-a7fd-42bc9275d3d3",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "657b4361-94f5-45db-9864-9349f646b029": {
                  "icon": null,
                  "name": "elasticsearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/elasticsearch-railway@sha256:c7ee7e4eb04a78b22b2be03b46181816f712dbc9391d09125c00441b4253e358"
                  },
                  "variables": {
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{ELASTIC_PASSWORD}}"
                    },
                    "ELASTICSEARCH_URL": {
                      "isOptional": false,
                      "defaultValue": "https://elastic:${{ELASTIC_PASSWORD}}@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ELASTICSEARCH_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "http://elastic:${{ELASTIC_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "657b4361-94f5-45db-9864-9349f646b029": {
                      "mountPath": "/usr/share/elasticsearch/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "elasticsearch",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-27T16:14:48.401Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-27T15:47:15.394Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e2c66e8b890f4c72a6cc",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 0,
    "typical_start_seconds": 51,
    "slowest_service": "elasticsearch"
  }
}
