You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ for conf in "${!configDefaults[@]}"; do
179
179
done
180
180
181
181
# if long and short hostnames are not the same, use long hostnames
182
-
if [ "$(hostname)"!="$(hostname -s)" ];then
182
+
if [ -z"${RABBITMQ_USE_LONGNAME:-}" ] && [ "$(hostname)"!="$(hostname -s)" ];then
183
183
:"${RABBITMQ_USE_LONGNAME:=true}"
184
184
fi
185
185
@@ -195,6 +195,8 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
195
195
echo"$RABBITMQ_ERLANG_COOKIE">"$cookieFile"
196
196
fi
197
197
chmod 600 "$cookieFile"
198
+
199
+
echo>&2"WARNING: '$cookieFile' was populated from '\$RABBITMQ_ERLANG_COOKIE', which will no longer happen in a future release! (https://github.com/docker-library/rabbitmq/pull/424)"
echo>&2"WARNING: 'docker-entrypoint.sh' generated/modified the RabbitMQ configuration file, which will no longer happen in a future release! (https://github.com/docker-library/rabbitmq/pull/424)"
echo>&2"WARNING: relying on 'docker-entrypoint.sh' generating a combined PEM certificate file, which will no longer happen in a future release! (https://github.com/docker-library/rabbitmq/pull/424)"
407
418
fi
408
419
if [ "$haveSslConfig" ] && [ -f"$combinedSsl" ];then
409
420
# More ENV vars for make clustering happiness
@@ -413,6 +424,8 @@ if [ "$haveSslConfig" ] && [ -f "$combinedSsl" ]; then
0 commit comments