{
  "manifest_version": "1.0.0",
  "template": {
    "id": "18c7dd2d-febf-4dd1-ab72-597ed45937a1",
    "slug": "apache-druid-single-node",
    "name": "Apache Druid",
    "description": "Secured Apache Druid single-node analytics with persistent local storage",
    "url": "https://railway.com/deploy/apache-druid-single-node",
    "upstream": {
      "repo_url": "https://github.com/monotykamary/railway-template-apache-druid"
    }
  },
  "services": [
    {
      "name": "druid",
      "source": {
        "repo": "https://github.com/monotykamary/railway-template-apache-druid"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/druid/var",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "druid",
      "description": "Apache Druid Router and Railway health-check port. Keep this at 8888.",
      "secret": false,
      "strategy": "default",
      "default": "8888"
    },
    {
      "key": "DRUID_ADMIN_PASSWORD",
      "service": "druid",
      "description": "Password for the initial Druid admin user. Generated for every deployment.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DRUID_INTERNAL_PASSWORD",
      "service": "druid",
      "description": "Private password used for authenticated communication among Druid roles. Generated independently.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "apache-druid-single-node"
      }
    },
    "cli": "railway deploy --template apache-druid-single-node",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "18c7dd2d-febf-4dd1-ab72-597ed45937a1",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8fccb067-78de-44e2-a10d-0683019850b3": {
                  "icon": "https://raw.githubusercontent.com/apache/druid-website/2e46f443d00868be1fe645d5371b1a3aaf98f02a/img/logo.svg",
                  "name": "druid",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/status/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/monotykamary/railway-template-apache-druid",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Apache Druid Router and Railway health-check port. Keep this at 8888.",
                      "defaultValue": "8888"
                    },
                    "DRUID_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the initial Druid admin user. Generated for every deployment.",
                      "defaultValue": "{{DRUID_ADMIN_PASSWORD}}"
                    },
                    "DRUID_INTERNAL_PASSWORD": {
                      "isOptional": false,
                      "description": "Private password used for authenticated communication among Druid roles. Generated independently.",
                      "defaultValue": "{{DRUID_INTERNAL_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8888": {
                        "port": 8888
                      }
                    }
                  },
                  "volumeMounts": {
                    "8fccb067-78de-44e2-a10d-0683019850b3": {
                      "mountPath": "/opt/druid/var",
                      "backupSchedules": [
                        "DAILY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "druid",
      "method": "GET",
      "path": "/status/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-05T06:05:33.245Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d38387ae54474172a94c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 78,
    "typical_build_seconds": 41,
    "typical_start_seconds": 20,
    "slowest_service": "druid"
  }
}
