Skip to content

Commit dc54b45

Browse files
committed
[Docker] Ensure backward compatability for [coordinator|tablet-server].host option in docker images
1 parent 05196e6 commit dc54b45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ COMMON_CONF_FILE="${FLUSS_HOME}/conf/common.yaml"
2020
prepare_configuration() {
2121
additional_conf_file="${FLUSS_HOME}/conf/$1"
2222

23+
# backward compatability: allow to use old [coordinator|tablet-server].host option in FLUSS_PROPERTIES
24+
sed -i '/bind.listeners:/d' "${COMMON_CONF_FILE}" "$additional_conf_file"
25+
2326
if [ -n "${FLUSS_PROPERTIES}" ]; then
2427
# copy over all configuration options of FLUSS_PROPERTIES to the common and the additional configuration file
2528
# since we cannot tell which configuration options are specific and which are not

0 commit comments

Comments
 (0)