mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
11 lines
262 B
Bash
Executable File
11 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
## Overide default configuration files
|
|
: ${EXTRA_CONF_DIR:=/config/kafka}
|
|
|
|
if [ -d "$EXTRA_CONF_DIR" ]; then
|
|
cp $EXTRA_CONF_DIR/* /usr/local/kafka/config
|
|
fi
|
|
|
|
bash /usr/local/kafka/bin/kafka-server-start.sh /usr/local/kafka/config/server.properties
|