Skip to content

Commit 9956e42

Browse files
Merge pull request #26 from igorcampos-dev/patch/docker-compose
Update compose.yaml
2 parents eab8e92 + afb0639 commit 9956e42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-kafka-example/compose.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22

3-
server:
3+
app:
4+
container_name: app
45
build:
56
context: .
67
ports:
@@ -10,8 +11,8 @@ services:
1011
SPRING_PROFILES_ACTIVE: "default"
1112

1213
kafka:
13-
image: confluentinc/cp-kafka:8.0.0
1414
container_name: kafka
15+
image: confluentinc/cp-kafka:8.0.0
1516
ports:
1617
- "9092:9092"
1718
environment:
@@ -24,4 +25,4 @@ services:
2425
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
2526
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
2627
KAFKA_LOG_DIRS: /tmp/kraft-combined-logs
27-
CLUSTER_ID: qGyb4Z0XQpeoKgUXYfCCLw
28+
CLUSTER_ID: qGyb4Z0XQpeoKgUXYfCCLw

0 commit comments

Comments
 (0)