Docker Compose Deployment

Build Image

From the KafClaw source directory:

make docker-build

Run

Set host repo paths and start:

make docker-up
  • SYSTEM_REPO_PATH defaults to current directory
  • WORK_REPO_PATH defaults to ~/.kafclaw/work-repo

Stop

make docker-down

Logs

make docker-logs

Configuration

The Docker Compose setup mounts the following volumes:

Host Path Container Path Purpose
$SYSTEM_REPO_PATH /opt/system-repo System/identity repository
$WORK_REPO_PATH /opt/work-repo Work repository
~/.kafclaw /root/.kafclaw Config, timeline DB, WhatsApp session

Ports exposed:

  • 18790 - API server (POST /chat)
  • 18791 - Dashboard / Web UI

Notes

  • Uses kafclaw:local image only (no remote pulls).
  • Base image: alpine:3.20 with ca-certificates.
  • Entrypoint: /usr/local/bin/kafclaw gateway

Back to top

Apache®, Apache Wayang®, Wayang®, Apache Kafka®, Kafka®, Apache Flink®, Flink®, Apache Iceberg®, Iceberg®, Apache Spark®, Spark® and associated open source project names are trademarks of the Apache Software Foundation.
Maintained and developed by Scalytics (www.scalytics.io).

This site uses Just the Docs, a documentation theme for Jekyll.