From a5a9f97d5151053feb196b53996d8d1c95a93cab Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Fri, 20 Dec 2024 09:18:15 +0800 Subject: [PATCH] Fix confluent-schema-registry container and host name --- docker-compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index b57027d..e0fd34a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -239,7 +239,7 @@ services: - "26257:26257" - "8080:8080" confluent-schema-registry: - container_name: schema-registry + container_name: confluent-schema-registry depends_on: kafka-server: condition: service_healthy @@ -247,9 +247,9 @@ services: healthcheck: interval: 10s retries: 5 - test: nc -z schema-registry 8081 + test: nc -z confluent-schema-registry 8081 timeout: 5s - hostname: schema-registry + hostname: confluent-schema-registry image: confluentinc/cp-schema-registry:${CONFLUENT_SCHEMA_REGISTRY_VERSION:-7.4.0} ports: - "8081:8081"