Browse Source

Fix sdp docker config

Anton Petrov 5 years ago
parent
commit
96b5833170
2 changed files with 4 additions and 5 deletions
  1. 3 5
      docker/kafka-ui.yaml
  2. 1 0
      kafka-ui-api/src/main/resources/application-sdp.yml

+ 3 - 5
docker/kafka-ui.yaml

@@ -60,14 +60,12 @@ services:
     depends_on:
     depends_on:
       - zookeeper0
       - zookeeper0
       - kafka0
       - kafka0
-    ports:
-      - 8085:8085
     environment:
     environment:
-      SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka0:9092
+      SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka0:29092
       SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper0:2181
       SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper0:2181
       SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL: PLAINTEXT
       SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL: PLAINTEXT
-      SCHEMA_REGISTRY_HOST_NAME: schemaregistry
-      SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8085
+      SCHEMA_REGISTRY_HOST_NAME: schemaregistry0
+      SCHEMA_REGISTRY_LISTENERS: http://schemaregistry0:8085
 
 
       SCHEMA_REGISTRY_SCHEMA_REGISTRY_INTER_INSTANCE_PROTOCOL: "http"
       SCHEMA_REGISTRY_SCHEMA_REGISTRY_INTER_INSTANCE_PROTOCOL: "http"
       SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO
       SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO

+ 1 - 0
kafka-ui-api/src/main/resources/application-sdp.yml

@@ -4,6 +4,7 @@ kafka:
       name: local
       name: local
       bootstrapServers: kafka0:29092
       bootstrapServers: kafka0:29092
       zookeeper: zookeeper0:2181
       zookeeper: zookeeper0:2181
+      schemaRegistry: http://schemaregistry0:8085
     -
     -
       name: secondLocal
       name: secondLocal
       zookeeper: zookeeper1:2181
       zookeeper: zookeeper1:2181