Skip to content

Docker Compose

The Compose deployment is the local all-in-one stack. It is useful for evaluation, development, and integration tests that need all three datastores.

  • Docker Compose
  • Local ports 6743, 4317, 4318, 5432, 6379, 8123, and 9000
  • Repository checkout with deploy/compose/local.yml, deploy/compose/prod.yml, and deploy/compose/dev.yml

Start the stack:

Terminal window
cd deploy/compose
docker compose -f local.yml up --build

The compose file starts dependencies first, then runs:

Terminal window
oriel migrate up

The long-running service then runs:

Terminal window
oriel serve --role=all

The service sets ORIEL_SERVER_INSECURE=true because plaintext listeners bind inside the local container network. For production, use TLS or a TLS-terminating proxy.

Terminal window
docker compose -f local.yml ps
curl -fsS http://localhost:6743/healthz
curl -fsS http://localhost:6743/readyz

Expected public ports:

Port Purpose
6743 UI and API
4317 OTLP gRPC
4318 OTLP HTTP
6379 Valkey
8123 ClickHouse HTTP
9000 ClickHouse native
5432 PostgreSQL

Stop the stack without deleting data:

Terminal window
docker compose -f local.yml down

Delete local data:

Terminal window
docker compose -f local.yml down -v

If migrations fail, inspect oriel-migrate logs:

Terminal window
docker compose -f local.yml logs oriel-migrate