Skip to content

Commit

Permalink
add user root
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 committed Apr 22, 2024
1 parent 376fbbe commit bfe77b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ services:
zookeeper:
<<: *restart_policy
image: "confluentinc/cp-zookeeper:7.6.1"
user: root
environment:
ZOOKEEPER_CLIENT_PORT: "2181"
CONFLUENT_SUPPORT_METRICS_ENABLE: "false"
Expand All @@ -185,6 +186,7 @@ services:
zookeeper:
<<: *depends_on-healthy
image: "confluentinc/cp-kafka:7.6.1"
user: root
environment:
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT:https://kafka:9092"
Expand Down

0 comments on commit bfe77b8

Please sign in to comment.