{
  "manifest_version": "1.0.0",
  "template": {
    "id": "303e9ef2-a065-4475-8e33-75e130d2fc8a",
    "slug": "redpanda-v26-kafka-compatible-streaming",
    "name": "Redpanda v26 Kafka-Compatible Streaming",
    "description": "Kafka API streaming with Redpanda Console. No ZooKeeper, no JVM.",
    "url": "https://railway.com/deploy/redpanda-v26-kafka-compatible-streaming",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/redpanda-railway"
    }
  },
  "services": [
    {
      "name": "console",
      "source": {
        "image": "redpandadata/console:v3.12.0"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "console-gateway",
      "source": {
        "repo": "https://github.com/baranberkay96/redpanda-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "redpanda",
      "source": {
        "repo": "https://github.com/baranberkay96/redpanda-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/redpanda/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "console",
      "description": "Console HTTP port; /admin/health is the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "KAFKA_BROKERS",
      "service": "console",
      "description": "Kafka bootstrap server (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_LISTENPORT",
      "service": "console",
      "description": "Console HTTP port.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "KAFKA_SASL_ENABLED",
      "service": "console",
      "description": "Authenticate to Kafka with SASL.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "KAFKA_SASL_PASSWORD",
      "service": "console",
      "description": "SASL password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KAFKA_SASL_USERNAME",
      "service": "console",
      "description": "SASL user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SCHEMAREGISTRY_URLS",
      "service": "console",
      "description": "Schema Registry URL (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KAFKA_SASL_MECHANISM",
      "service": "console",
      "description": "SCRAM mechanism (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDPANDA_ADMINAPI_URLS",
      "service": "console",
      "description": "Admin API URL (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SCHEMAREGISTRY_ENABLED",
      "service": "console",
      "description": "Show schemas and decode Avro/Protobuf messages.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDPANDA_ADMINAPI_ENABLED",
      "service": "console",
      "description": "Manage users, ACLs and cluster settings through the Admin API.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "KAFKA_SASL_IMPERSONATEUSER",
      "service": "console",
      "description": "Use the static credentials above (no Console login).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD",
      "service": "console",
      "description": "Schema Registry password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SCHEMAREGISTRY_AUTHENTICATION_BASIC_USERNAME",
      "service": "console",
      "description": "Schema Registry user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SCHEMAREGISTRY_AUTHENTICATION_IMPERSONATEUSER",
      "service": "console",
      "description": "Use the static credentials above.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "REDPANDA_ADMINAPI_AUTHENTICATION_BASIC_PASSWORD",
      "service": "console",
      "description": "Admin API password (reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDPANDA_ADMINAPI_AUTHENTICATION_BASIC_USERNAME",
      "service": "console",
      "description": "Admin API user (reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDPANDA_ADMINAPI_AUTHENTICATION_IMPERSONATEUSER",
      "service": "console",
      "description": "Use the static credentials above.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PORT",
      "service": "console-gateway",
      "description": "Gateway port (public domain target); /healthz is unauthenticated.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "CONSOLE_UPSTREAM",
      "service": "console-gateway",
      "description": "Console on the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "BASIC_AUTH_PASSWORD",
      "service": "console-gateway",
      "description": "Password for Redpanda Console. Generated; read it here.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BASIC_AUTH_USERNAME",
      "service": "console-gateway",
      "description": "Login for Redpanda Console.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "PORT",
      "service": "redpanda",
      "description": "Admin API port; /v1/status/ready (unauthenticated) is the healthcheck.",
      "secret": false,
      "strategy": "default",
      "default": "9644"
    },
    {
      "key": "REDPANDA_SMP",
      "service": "redpanda",
      "description": "CPU cores Redpanda uses (seastar shards).",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDPANDA_MEMORY",
      "service": "redpanda",
      "description": "Memory Redpanda reserves for itself. Size it to your throughput; the container needs a little more than this.",
      "secret": false,
      "strategy": "default",
      "default": "1G"
    },
    {
      "key": "REDPANDA_LOG_LEVEL",
      "service": "redpanda",
      "description": "Broker log level.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "KAFKA_SASL_PASSWORD",
      "service": "redpanda",
      "description": "Password of the superuser. Used only when the cluster is created; change it later with rpk (see README).",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "KAFKA_SASL_USERNAME",
      "service": "redpanda",
      "description": "SASL/SCRAM superuser created on first start (also Schema Registry / HTTP Proxy / Admin API login).",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "SCHEMA_REGISTRY_URL",
      "service": "redpanda",
      "description": "Schema Registry URL on the private network (HTTP Basic auth with the SASL user).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "KAFKA_SASL_MECHANISM",
      "service": "redpanda",
      "description": "SCRAM-SHA-256 or SCRAM-SHA-512.",
      "secret": false,
      "strategy": "default",
      "default": "SCRAM-SHA-256"
    },
    {
      "key": "KAFKA_LOG_RETENTION_MS",
      "service": "redpanda",
      "description": "Default topic retention (7 days). Applied when the cluster is created; per-topic retention can be set any time.",
      "secret": false,
      "strategy": "default",
      "default": "604800000"
    },
    {
      "key": "KAFKA_BOOTSTRAP_SERVERS",
      "service": "redpanda",
      "description": "Bootstrap address for clients on the private network; reference it as ${{redpanda.KAFKA_BOOTSTRAP_SERVERS}}.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "KAFKA_AUTO_CREATE_TOPICS",
      "service": "redpanda",
      "description": "Create topics automatically on first produce. Applied when the cluster is created.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "redpanda",
      "description": "Let Redpanda flush and stop cleanly on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "redpanda-v26-kafka-compatible-streaming"
      }
    },
    "cli": "railway deploy --template redpanda-v26-kafka-compatible-streaming",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "303e9ef2-a065-4475-8e33-75e130d2fc8a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "9c71f746-7c32-5263-9ff6-6ea8fadbaf38": {
                  "icon": "https://cdn.jsdelivr.net/gh/redpanda-data/console@master/frontend/public/favicon.svg",
                  "name": "console",
                  "deploy": {
                    "healthcheckPath": "/admin/health",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 600
                  },
                  "source": {
                    "image": "redpandadata/console:v3.12.0"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Console HTTP port; /admin/health is the healthcheck.",
                      "defaultValue": "8080"
                    },
                    "KAFKA_BROKERS": {
                      "isOptional": true,
                      "description": "Kafka bootstrap server (private network).",
                      "defaultValue": "${{redpanda.KAFKA_BOOTSTRAP_SERVERS}}"
                    },
                    "SERVER_LISTENPORT": {
                      "isOptional": true,
                      "description": "Console HTTP port.",
                      "defaultValue": "8080"
                    },
                    "KAFKA_SASL_ENABLED": {
                      "isOptional": true,
                      "description": "Authenticate to Kafka with SASL.",
                      "defaultValue": "true"
                    },
                    "KAFKA_SASL_PASSWORD": {
                      "isOptional": true,
                      "description": "SASL password (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_PASSWORD}}"
                    },
                    "KAFKA_SASL_USERNAME": {
                      "isOptional": true,
                      "description": "SASL user (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_USERNAME}}"
                    },
                    "SCHEMAREGISTRY_URLS": {
                      "isOptional": true,
                      "description": "Schema Registry URL (reference).",
                      "defaultValue": "${{redpanda.SCHEMA_REGISTRY_URL}}"
                    },
                    "KAFKA_SASL_MECHANISM": {
                      "isOptional": true,
                      "description": "SCRAM mechanism (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_MECHANISM}}"
                    },
                    "REDPANDA_ADMINAPI_URLS": {
                      "isOptional": true,
                      "description": "Admin API URL (private network).",
                      "defaultValue": "http://${{redpanda.RAILWAY_PRIVATE_DOMAIN}}:9644"
                    },
                    "SCHEMAREGISTRY_ENABLED": {
                      "isOptional": true,
                      "description": "Show schemas and decode Avro/Protobuf messages.",
                      "defaultValue": "true"
                    },
                    "REDPANDA_ADMINAPI_ENABLED": {
                      "isOptional": true,
                      "description": "Manage users, ACLs and cluster settings through the Admin API.",
                      "defaultValue": "true"
                    },
                    "KAFKA_SASL_IMPERSONATEUSER": {
                      "isOptional": true,
                      "description": "Use the static credentials above (no Console login).",
                      "defaultValue": "false"
                    },
                    "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD": {
                      "isOptional": true,
                      "description": "Schema Registry password (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_PASSWORD}}"
                    },
                    "SCHEMAREGISTRY_AUTHENTICATION_BASIC_USERNAME": {
                      "isOptional": true,
                      "description": "Schema Registry user (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_USERNAME}}"
                    },
                    "SCHEMAREGISTRY_AUTHENTICATION_IMPERSONATEUSER": {
                      "isOptional": true,
                      "description": "Use the static credentials above.",
                      "defaultValue": "false"
                    },
                    "REDPANDA_ADMINAPI_AUTHENTICATION_BASIC_PASSWORD": {
                      "isOptional": true,
                      "description": "Admin API password (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_PASSWORD}}"
                    },
                    "REDPANDA_ADMINAPI_AUTHENTICATION_BASIC_USERNAME": {
                      "isOptional": true,
                      "description": "Admin API user (reference).",
                      "defaultValue": "${{redpanda.KAFKA_SASL_USERNAME}}"
                    },
                    "REDPANDA_ADMINAPI_AUTHENTICATION_IMPERSONATEUSER": {
                      "isOptional": true,
                      "description": "Use the static credentials above.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "cf9e03d0-21cd-58eb-9613-1fadcf9082cb": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "console-gateway",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 120
                  },
                  "source": {
                    "repo": "baranberkay96/redpanda-railway",
                    "branch": "main",
                    "rootDirectory": "/services/console-gateway"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Gateway port (public domain target); /healthz is unauthenticated.",
                      "defaultValue": "8080"
                    },
                    "CONSOLE_UPSTREAM": {
                      "isOptional": true,
                      "description": "Console on the private network.",
                      "defaultValue": "${{console.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "BASIC_AUTH_PASSWORD": {
                      "isOptional": true,
                      "description": "Password for Redpanda Console. Generated; read it here.",
                      "defaultValue": "{{BASIC_AUTH_PASSWORD}}"
                    },
                    "BASIC_AUTH_USERNAME": {
                      "isOptional": true,
                      "description": "Login for Redpanda Console.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "d214df67-9fb1-570e-8bb6-8cd83245499e": {
                  "icon": "https://cdn.jsdelivr.net/gh/redpanda-data/console@master/frontend/public/favicon.svg",
                  "name": "redpanda",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/v1/status/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/redpanda-railway",
                    "branch": "main",
                    "rootDirectory": "/services/redpanda"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Admin API port; /v1/status/ready (unauthenticated) is the healthcheck.",
                      "defaultValue": "9644"
                    },
                    "REDPANDA_SMP": {
                      "isOptional": true,
                      "description": "CPU cores Redpanda uses (seastar shards).",
                      "defaultValue": "1"
                    },
                    "REDPANDA_MEMORY": {
                      "isOptional": true,
                      "description": "Memory Redpanda reserves for itself. Size it to your throughput; the container needs a little more than this.",
                      "defaultValue": "1G"
                    },
                    "REDPANDA_LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Broker log level.",
                      "defaultValue": "info"
                    },
                    "KAFKA_SASL_PASSWORD": {
                      "isOptional": true,
                      "description": "Password of the superuser. Used only when the cluster is created; change it later with rpk (see README).",
                      "defaultValue": "{{KAFKA_SASL_PASSWORD}}"
                    },
                    "KAFKA_SASL_USERNAME": {
                      "isOptional": true,
                      "description": "SASL/SCRAM superuser created on first start (also Schema Registry / HTTP Proxy / Admin API login).",
                      "defaultValue": "admin"
                    },
                    "SCHEMA_REGISTRY_URL": {
                      "isOptional": true,
                      "description": "Schema Registry URL on the private network (HTTP Basic auth with the SASL user).",
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:8081"
                    },
                    "KAFKA_SASL_MECHANISM": {
                      "isOptional": true,
                      "description": "SCRAM-SHA-256 or SCRAM-SHA-512.",
                      "defaultValue": "SCRAM-SHA-256"
                    },
                    "KAFKA_LOG_RETENTION_MS": {
                      "isOptional": true,
                      "description": "Default topic retention (7 days). Applied when the cluster is created; per-topic retention can be set any time.",
                      "defaultValue": "604800000"
                    },
                    "KAFKA_BOOTSTRAP_SERVERS": {
                      "isOptional": true,
                      "description": "Bootstrap address for clients on the private network; reference it as ${{redpanda.KAFKA_BOOTSTRAP_SERVERS}}.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}:9092"
                    },
                    "KAFKA_AUTO_CREATE_TOPICS": {
                      "isOptional": true,
                      "description": "Create topics automatically on first produce. Applied when the cluster is created.",
                      "defaultValue": "false"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Let Redpanda flush and stop cleanly on redeploy.",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "da9d5bf4-797f-5e6a-a8f6-b8a92366baef": {
                      "mountPath": "/var/lib/redpanda/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "console-gateway",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T22:14:38.939Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-11T19:11:46.560Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f3b3477c94e04444ba11",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 185,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "console"
  }
}
