Skip to content

Docker Deployment 🟑 BETA

Docker is an experimental option in this repository: no image is published and no Dockerfile ships, so you must build and host your own image.

The Admin guide path: install, secure, configure and operate the server.

When to use

  • Local experiments or a custom image pipeline that you own and maintain.
  • Do not use it for the reference production stack: the supported path is the installer with Incus containers (Container Deployment).

Before you start

Prerequisite Authority
A botserver image you built yourself The repository publishes none; replace your-registry/botserver:latest with your own tag.
Component versions pinned in botserver/3rdparty.toml Do not use latest tags for PostgreSQL, Valkey, Qdrant or OtterIO.
Secrets from Vault, injected at runtime Never write a password into a compose file or this page.
Local ports API 8080, suite 3000, cloud 4000, login 5000 (root AGENTS.md).

If you need horizontal capacity after this, read Scaling first β€” the product is a stateful monolith with a bootstrap sequence, not a set of independently schedulable services.

Steps

  1. Build your image from the source; see Building from Source for the feature bundles.
  2. Write a compose file that names the image explicitly and injects secrets from the environment. Keep the data in named volumes: yaml services: botserver: image: your-registry/botserver:<your-tag> restart: unless-stopped ports: - "8080:8080" volumes: - botserver-data:/opt/gbo/data env_file: - .env volumes: botserver-data:
  3. Keep .env outside the repository and source-only credentials from Vault. The login surface is served by botui on port 5000, not by botserver.
  4. Start with docker compose up -d and watch docker compose logs -f botserver.

Verify

Check Expected result
API health curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/health returns 200.
Process docker compose ps shows the service up.
Data volume docker compose exec botserver ls /opt/gbo/data shows the mounted tree.
Secrets No credential appears in docker compose config output committed to git.
Component versions Match the pins in botserver/3rdparty.toml, not latest.

Roll back

  1. Stop the service with docker compose down (named volumes are retained).
  2. Redeploy the previous image tag you built and stored; there is no published stable tag to fall back to.
  3. Restore database and Drive data from your own backup to /tmp first, then into the volumes. Re-run the Verify table.
  4. For the supported deployment, migrate to the Incus path using the procedure in Container Deployment.

Limits

Claim Status
Published image or Dockerfile None in this repository.
Port 8000 / 9000 Not used by the product; the canonical ports are in the root AGENTS.md.
postgres:latest, qdrant:latest Not supported pins; use botserver/3rdparty.toml.
Kubernetes manifests in the compose file Not supported; see the Kubernetes runbook.