Skip to content

Instantly share code, notes, and snippets.

View addodelgrossi's full-sized avatar

Addo addodelgrossi

  • Araraquara, Brazil
View GitHub Profile
@dkurzaj
dkurzaj / README.md
Last active August 21, 2024 09:02
Docker compose Kafka, Zookeeper and Kafka manager

Docker compose Kafka, Zookeeper and Kafka manager

Gist inspired by this one intending to be an updated version of it : https://gist.github.com/17twenty/d619f922ab209f750630824f7c6836e3

Install

  • Create the environment variable that contains our host name (IP address) :
$ export EXPOSED_HOSTNAME=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1  -d'/')
  • Create the folders :