Closed
Description
It would be nice to be able to extend the configuration file generation when extending from this docker image. It would be nice to be able to add custom logic at the end of the configuration file generation.
Something along the line of (shamelessly stolen from postgresql docker container) this in docker-entrypoint.sh
:
if [ "$1" = 'rabbitmq-server' ] && [ "$shouldWriteConfig" ]; then
# ....current logic....
echo
for f in /docker-entrypoint-initdb.d/*; do
case "$f" in
*.sh)
echo "$0: sourcing $f"
. "$f"
;;
*) echo "$0: ignoring $f" ;;
esac
echo
done
fi