From 0aed8e7311e4b70377d6d5cb647e1b7a1a89668f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:25:37 +0000 Subject: [PATCH] Add EXPOSE directives to all Dockerfiles with port documentation Co-authored-by: velocitatem <60182044+velocitatem@users.noreply.github.com> --- docker/Kafka.dockerfile | 7 +++++-- docker/Redis.dockerfile | 4 ++-- docker/RedpandaConsole.dockerfile | 4 ++-- docker/Zookeeper.dockerfile | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docker/Kafka.dockerfile b/docker/Kafka.dockerfile index f119dc5..33c6ee8 100644 --- a/docker/Kafka.dockerfile +++ b/docker/Kafka.dockerfile @@ -1,4 +1,7 @@ FROM confluentinc/cp-kafka:7.5.0 -# Kafka is used as-is from the Confluent official image -# No additional configuration needed +# Expose Kafka ports +# 9092: External client connections +# 29092: Internal broker communication +# 9999: JMX monitoring port +EXPOSE 9092 29092 9999 diff --git a/docker/Redis.dockerfile b/docker/Redis.dockerfile index 2ec2ed7..183ee10 100644 --- a/docker/Redis.dockerfile +++ b/docker/Redis.dockerfile @@ -1,4 +1,4 @@ FROM redis:7-alpine -# Redis is used as-is from the official image -# No additional configuration needed +# Expose Redis port +EXPOSE 6379 diff --git a/docker/RedpandaConsole.dockerfile b/docker/RedpandaConsole.dockerfile index bf0fcac..d90ff48 100644 --- a/docker/RedpandaConsole.dockerfile +++ b/docker/RedpandaConsole.dockerfile @@ -1,4 +1,4 @@ FROM docker.redpanda.com/redpandadata/console:latest -# Redpanda Console is used as-is from the official image -# No additional configuration needed +# Expose Redpanda Console web UI port +EXPOSE 8080 diff --git a/docker/Zookeeper.dockerfile b/docker/Zookeeper.dockerfile index 823d821..87df5d2 100644 --- a/docker/Zookeeper.dockerfile +++ b/docker/Zookeeper.dockerfile @@ -1,4 +1,4 @@ FROM confluentinc/cp-zookeeper:latest -# Zookeeper is used as-is from the Confluent official image -# No additional configuration needed +# Expose Zookeeper client port +EXPOSE 2181