# Docker compose from bringing up a local ksqlDB cluster and dependencies. # # By default, the cluster has two ksqlDB servers. You can scale the number of ksqlDB nodes in the # cluster by using the docker `--scale` command line arg. # # e.g. for a 4 node cluster run: # > docker-compose up --scale additional-ksqldb-server=3 # # or a 1 node cluster run: # > docker-compose up --scale additional-ksqldb-server=0 # # The default is one `primary-ksqldb-server` and one `additional-ksqdb-server`. The only # difference is that the primary node has a well-known port exposed so clients can connect, where # as the additional nodes use auto-port assignment so that ports don't clash. # # If you wish to run with locally built ksqlDB docker images then: # # 1. Follow the steps in https://github.com/confluentinc/ksql/blob/master/ksqldb-docker/README.md # to build a ksqlDB docker image with local changes. # # 2. Update .env file to use your local images by setting KSQL_IMAGE_BASE=placeholder/ and KSQL_VERSION=local.build.