Skip to content
Permalink
Browse files
Set BOOKIE_HTTP_PORT to make it optional in docker run (#3096)
Fixes #3075.
  • Loading branch information
kezhuw committed Mar 23, 2022
1 parent bb74c81 commit 7b5f96ec9d54849a439b577d7677cda26c7d937e
Showing 1 changed file with 2 additions and 1 deletion.
@@ -25,7 +25,8 @@ ARG DISTRO_NAME=bookkeeper-server-${BK_VERSION}-bin
ARG DISTRO_URL=https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz

ENV BOOKIE_PORT=3181
EXPOSE $BOOKIE_PORT
ENV BOOKIE_HTTP_PORT=8080
EXPOSE $BOOKIE_PORT $BOOKIE_HTTP_PORT
ENV BK_USER=bookkeeper
ENV BK_HOME=/opt/bookkeeper
ENV JAVA_HOME=/usr/lib/jvm/java-11

0 comments on commit 7b5f96e

Please sign in to comment.