Skip to Content
Getting StartedDocker Deployment

Docker Deployment

KalamDB ships maintained Compose files in the main repository.

Single Node

curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/single/docker-compose.yml -o docker-compose.yml KALAMDB_JWT_SECRET="$(openssl rand -base64 32)" docker compose up -d

By default, this maps host 8088 -> container 8080.

3-Node Cluster

curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/cluster/docker-compose.yml -o docker-compose.cluster.yml KALAMDB_JWT_SECRET="$(openssl rand -base64 32)" docker compose -f docker-compose.cluster.yml up -d

Default host ports:

  • node1 API: 8081
  • node2 API: 8082
  • node3 API: 8083

Windows PowerShell

$env:KALAMDB_JWT_SECRET = [Convert]::ToBase64String((1..32 | ForEach-Object { Get-Random -Maximum 256 })) Invoke-WebRequest https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/single/docker-compose.yml -UseBasicParsing -OutFile docker-compose.yml docker compose up -d

Verify Deployment

curl http://localhost:8088/v1/api/healthcheck kalam --host localhost --port 8088

Admin UI:

http://localhost:8088/ui

Notes

Last updated on