Skip to content

Docker Compose

Docker Compose is the fastest way to run Alquimia Platform locally. It starts the runtime together with the supporting services: Kafka, PostgreSQL, Redis, Qdrant, an S3-compatible object store (Alarik), Vault, and an OCI registry.

  • Local development and prototyping.
  • Demonstrating the platform to stakeholders.
  • Testing agent configurations before promoting them to a shared environment.
ServicePurpose
RuntimeMaster (runtime, HTTP API) and worker (runtime-worker, agent execution) containers
KafkaEvent bus between master and worker roles
PostgreSQLPersistent audit worklog and webhook subscriptions
RedisSession state, caches, and locks
QdrantVector store for knowledge bases
AlarikS3-compatible blob storage for attachments
VaultSecret storage and dynamic credentials
OCI registryStorage for agent packages and Boltzmann Brains
StudioWeb UI for designing, testing, and managing agents (runtime 0.5.1+)
  1. Clone the alquimia-runtime repository.
  2. Copy the example environment file and fill in the required secrets.
  3. Start the stack with Docker Compose.
  4. Verify the runtime health endpoint responds.

The Compose file runs the master (ALQUIMIA_RUNTIME_MODE=master) and a worker (ALQUIMIA_RUNTIME_MODE=worker) as separate containers that share the local registry directory, mounted read-only in the worker. For a single-process setup, run one container with ALQUIMIA_RUNTIME_MODE=all; this is convenient for local work but not recommended for production.

At minimum you will need:

  • An API token for authenticating requests.
  • Database credentials for PostgreSQL.
  • A Vault token for secret resolution (local Compose uses VAULT_AUTH_METHOD=token).
  • Object-store credentials for the local S3-compatible store or S3.
  • A signing key for CloudEvent integrity.
  • An LLM provider API key if you want to run real inferences.

Store these values in the environment file; never commit secrets to source control.