Docker, Compose & Kubernetes
Deploying KOLMOS with Docker, docker-compose, and Kubernetes manifests.
1. Docker Image
The official Docker container provides a secure, minimal runtime exposing all native wire protocol ports (PostgreSQL 5432, MySQL 3306, MongoDB 27017) with out-of-the-box cloud object storage support.
docker run -d \
-p 5432:5432 -p 3306:3306 -p 27017:27017 \
-v ./data:/data \
-e KOLMOS_PASSWORD=my-secret-password \
kolmos/kolmos:latest2. docker-compose
The `docker-compose.yml` starts the `kolmos` container service, reading secrets like `KOLMOS_PASSWORD` from a `.env` file. Run with S3/R2 credentials for seamless cloud storage persistence with zero egress.
# Start container services:
docker compose up -d3. Kubernetes
Deploy replicas behind a load balancer with standard Kubernetes Deployment and Service manifests, utilizing `/healthz` for liveness and readiness probes.
4. Production Best Practices
- Fully containerized: Run seamlessly with Docker, Podman, docker-compose, or Kubernetes. - Multi-Cloud: Deploy on AWS, GCP, Azure, or on-premise hardware. - Managed Cloud: Deploy instantly with zero DevOps management on [Kolmos Cloud](https://kolmos.dev).