Stack-Box/stackbox

Kafka container - KAFKA_ADVERTISED_HOST_NAME population

Closed this issue · 1 comments

Pick host ip config from python/bash for kafka container

Ref - https://github.com/Stack-Box/StackBox/blob/master/master.yaml#L43
This IP has to point to en0 of machine. Currently it's hardcoded (to my local IP)

Possible ways to approach:

  1. Modify stack_box.sh to set this IP before doing docker-compose
  2. Or add ip fetch from python script while generating docker-compose.yaml