kafka-spark-streaming-zeppelin-docker icon indicating copy to clipboard operation
kafka-spark-streaming-zeppelin-docker copied to clipboard

Unable to access the 172.25 ip series

Open ckrath opened this issue 4 years ago • 1 comments

Please let me know how to access the url http://172.25.0.19:8080/#/notebook/2EAB941ZD.

ckrath avatar Nov 26 '21 06:11 ckrath

In order to access that, first go into the docker-compose.yml file, and add the ports condition to each service defined, other than 'kafka1' and 'kafka2'

For example, your original zookeeper service would have the following block of code: zookeeper: image: wurstmeister/zookeeper:latest container_name: zookeeper expose: - "2181" volumes: - kafka_zookeeper:/opt/zookeeper-3.4.13/data networks: kafkanet: ipv4_address: 172.25.0.11

You need to change that to: zookeeper: image: wurstmeister/zookeeper:latest container_name: zookeeper expose: - "2181" ports: - 2181:2181 volumes: - kafka_zookeeper:/opt/zookeeper-3.4.13/data networks: kafkanet: ipv4_address: 172.25.0.11

It should work after doing this for each service (other than kafka1 and kafka2)

omar94khan avatar Jun 01 '22 16:06 omar94khan