Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ fi
if [ "$1" = 'rabbitmq-server' ]; then
configs=(
# https://www.rabbitmq.com/configure.html
default_vhost
default_user
default_pass
default_user
default_vhost
ssl_ca_file
ssl_cert_file
ssl_key_file
)

haveConfig=
Expand Down Expand Up @@ -70,6 +73,7 @@ if [ "$1" = 'rabbitmq-server' ]; then
fi

for conf in "${configs[@]}"; do
[ "${conf#ssl_}" = "$conf" ] || continue
var="RABBITMQ_${conf^^}"
val="${!var}"
[ "$val" ] || continue
Expand Down