Skip to content

Deploy with Docker Compose

Use Compose for local development or one Docker host. It is not a multi-host or HA deployment.

  • Docker with Compose support.
  • For repository development, installed workspace dependencies.
  • For a released runtime, an installed Caracal binary and writable CARACAL_HOME.
  • Host backup and TLS exposure plans before production use.
Terminal window
caracal up
caracal status --ready

Development builds infra/docker/docker-compose.yml; installed rc and stable runtimes use the embedded release topology. API 3000, STS 8080, Gateway 8081, Audit 9090, Coordinator 4000, and web 3001 bind to 127.0.0.1. The web container listens internally on 3002.

caracal up creates missing managed secret files and preserves non-empty values. Keep $CARACAL_HOME/secrets or CARACAL_SECRETS_DIR outside source and agent workspaces. Put overrides in $CARACAL_HOME/caracal.env; do not edit the installed compose file.

caracal status checks /health; caracal status --ready checks dependencies. From a checkout, bash infra/scripts/smokeTest.sh probes the five core services on loopback. Open http://localhost:3001 only after readiness passes.

Use caracal down to stop services while retaining volumes.

If startup fails, preserve volumes and secrets, inspect caracal status --json and container logs, then use Debug Infrastructure Issues.

Review Configure Service Environment before exposing an endpoint.