Skip to main content
CommunityTeamEnterprise

Docker Compose

Follow these steps to start a 3-node Kafka cluster on your local machine using Docker Compose, and connect the latest version of Kpow with either a community license or a 30-day trial license.

Prerequisites

Instructions

Clone the factorhouse-local repository which contains a functional Docker Compose file containing a 3-node Kafka cluster.

## clone the factor house local repository
$ git clone https://github.com/factorhouse/factorhouse-local.git
$ cd factorhouse-local

## configure your environment
# Edition (choose one by uncommenting the lines)
# For Enterprise Edition:
# unset KPOW_SUFFIX
# For Community Edition:
# export KPOW_SUFFIX="-ce"

# License (provide the path to your license .env files)
# export KPOW_LICENSE="/path/to/your/kpow-license.env"

## start Kafka with Kpow
$ docker compose -p kpow -f ./compose-kpow.yml up -d

## clean up your environment
$ docker compose -p kpow -f ./compose-kpow.yml down
$ unset KPOW_SUFFIX KPOW_LICENSE

Notes

  • Kpow's web UI is accessible at http://localhost:3000
  • The Kafka brokers are accessible with bootstrap URL 127.0.0.1:9092,127.0.0.1:9093,127.0.0.1:9094 if you want to configure other services.
  • For more details, visit: Playground > Factor House Local