// PART 02
Docker and Kubernetes
Neither Docker nor Kubernetes is a supported production target. This page records exactly what exists so nobody writes a deployment against imagined manifests.
Docker: experimental, no image published
The repository publishes no container image and contains no Dockerfile. Any
compose file you find in docs is a starting sketch: you must build and host
your own image and replace your-registry/botserver:latest accordingly.
Production deployments use the installer and Incus containers instead.
Two shapes people sketch:
| Option | Description | Best for |
|---|---|---|
| All-in-one | single container with all components | development, testing |
| Microservices | separate containers per component | experimentation with scaling |
If you build an all-in-one image yourself, mount the state directories as
volumes (/opt/gbo/data, botserver-stack/) and pass only Vault connection
variables into the environment; the container will bootstrap the rest. The
brother mode variant mounts the host Incus socket
(/var/lib/incus/unix.socket for a package install; snap installs use
/var/snap/incus/common/incus.socket) so the containerized botserver can
manage host containers — run it privileged, and remember that container
create commands (botserver install … --container) must run on the host.
Kubernetes: not supported
This repository contains no Kubernetes manifests, no Helm chart and no
operator — no k8s/, deploy/ or charts/ directory and no CI job that
builds or applies one.
find . -maxdepth 3 -name 'Chart.yaml' -o -maxdepth 3 -name 'kustomization.yaml'
# no output
botserver is a stateful monolith by design: it owns a bootstrap sequence that
creates PostgreSQL schemas, unseals/reads Vault, provisions the directory and
materialises bots from Drive (botserver/src/main_module/init.rs). Nothing in
the tree splits those responsibilities into independently schedulable
workloads. If a Kubernetes deployment is needed, treat it as new work with its
own design and CI, not as a documented option of this repository.
Health endpoints if you do containerize
| Service | Endpoint |
|---|---|
| botserver | GET /health (anonymous liveness), GET /ready (dependency-aware, authenticated) |
| PostgreSQL | pg_isready |
| OtterIO | GET /otterio/health/live |
| Qdrant | GET /healthz on its own port |
What to use instead
| Target | Page |
|---|---|
| Bare-metal / Incus containers on one host | Incus and gateway |
| Single-host production stack (the reference deployment) | The services parts of this book |
| Desktop single-file install | Desktop-local install |