diff options
author | Staffan Olsson <staffan@repos.se> | 2016-10-23 19:15:51 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2016-10-23 19:15:51 +0200 |
commit | 0d45f5c9efe416d1614cc8d9b9eb4cf52aa81ad2 (patch) | |
tree | 65fa921d92b45cc9b378dce3e1344d0404bc40aa /docker-kafka-persistent | |
parent | a8667eafa7d314a9276dad459578867c16893a4a (diff) | |
download | kubernetes-kafka-0d45f5c9efe416d1614cc8d9b9eb4cf52aa81ad2.tar.gz kubernetes-kafka-0d45f5c9efe416d1614cc8d9b9eb4cf52aa81ad2.tar.bz2 kubernetes-kafka-0d45f5c9efe416d1614cc8d9b9eb4cf52aa81ad2.zip |
Moves zookeeper default link name from build to file
Diffstat (limited to 'docker-kafka-persistent')
-rw-r--r-- | docker-kafka-persistent/Dockerfile | 1 | ||||
-rw-r--r-- | docker-kafka-persistent/config/server.properties | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/docker-kafka-persistent/Dockerfile b/docker-kafka-persistent/Dockerfile index d256e37..725c1ef 100644 --- a/docker-kafka-persistent/Dockerfile +++ b/docker-kafka-persistent/Dockerfile @@ -16,5 +16,4 @@ ENTRYPOINT ["bin/kafka-server-start.sh"] ADD config/server.properties config/ -RUN sed -i 's/zookeeper.connect=localhost:2181/zookeeper.connect=zookeeper:2181/' config/server.properties CMD ["config/server.properties"] diff --git a/docker-kafka-persistent/config/server.properties b/docker-kafka-persistent/config/server.properties index f00a7d6..2f047c0 100644 --- a/docker-kafka-persistent/config/server.properties +++ b/docker-kafka-persistent/config/server.properties @@ -113,7 +113,7 @@ log.retention.check.interval.ms=300000 # server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002". # You can also append an optional chroot string to the urls to specify the # root directory for all kafka znodes. -zookeeper.connect=localhost:2181 +zookeeper.connect=zookeeper:2181 # Timeout in ms for connecting to zookeeper zookeeper.connection.timeout.ms=6000 |