Commit ea7ed0c0 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Revert "Omite definición de hostname para zk y kf"

This reverts commit 30de7fc8
parent 30de7fc8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ x-tmpl-healthcheck:
services:
  kf-1:
    image: confluentinc/cp-kafka:${IMAGE_TAG:-latest}
    hostname: kf-1
    environment:
      << : *tmpl-environment
      KAFKA_BROKER_ID: 1
@@ -39,6 +40,7 @@ services:

  kf-2:
    image: confluentinc/cp-kafka:${IMAGE_TAG:-latest}
    hostname: kf-2
    environment:
      << : *tmpl-environment
      KAFKA_BROKER_ID: 2
@@ -53,6 +55,7 @@ services:

  kf-3:
    image: confluentinc/cp-kafka:${IMAGE_TAG:-latest}
    hostname: kf-3
    environment:
      << : *tmpl-environment
      KAFKA_BROKER_ID: 3
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ x-tmpl-healthcheck:
services:
  zk-1:
    image: confluentinc/cp-zookeeper:${IMAGE_TAG:-latest}
    hostname: zk-1
    environment:
      << : *tmpl-environment
      ZOOKEEPER_SERVER_ID: 1
@@ -34,6 +35,7 @@ services:

  zk-2:
    image: confluentinc/cp-zookeeper:${IMAGE_TAG:-latest}
    hostname: zk-2
    environment:
      << : *tmpl-environment
      ZOOKEEPER_SERVER_ID: 2
@@ -48,6 +50,7 @@ services:

  zk-3:
    image: confluentinc/cp-zookeeper:${IMAGE_TAG:-latest}
    hostname: zk-3
    environment:
      << : *tmpl-environment
      ZOOKEEPER_SERVER_ID: 3