diff --git a/spring-kafka-example/compose.yaml b/spring-kafka-example/compose.yaml index a571fdf..2552bd9 100644 --- a/spring-kafka-example/compose.yaml +++ b/spring-kafka-example/compose.yaml @@ -1,6 +1,7 @@ services: - server: + app: + container_name: app build: context: . ports: @@ -10,8 +11,8 @@ services: SPRING_PROFILES_ACTIVE: "default" kafka: - image: confluentinc/cp-kafka:8.0.0 container_name: kafka + image: confluentinc/cp-kafka:8.0.0 ports: - "9092:9092" environment: @@ -24,4 +25,4 @@ services: KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER KAFKA_LOG_DIRS: /tmp/kraft-combined-logs - CLUSTER_ID: qGyb4Z0XQpeoKgUXYfCCLw \ No newline at end of file + CLUSTER_ID: qGyb4Z0XQpeoKgUXYfCCLw