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
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,8 @@ 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
+
echo>&2"WARNING: relying on 'docker-entrypoint.sh' implied 'RABBITMQ_USE_LONGNAME=true' setting, which will be removed in a future release! (https://github.com/docker-library/rabbitmq/pull/424)"
183
184
:"${RABBITMQ_USE_LONGNAME:=true}"
184
185
fi
185
186
@@ -195,6 +196,10 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
195
196
echo"$RABBITMQ_ERLANG_COOKIE">"$cookieFile"
196
197
fi
197
198
chmod 600 "$cookieFile"
199
+
200
+
# TODO show warning about use of RABBITMQ_ERLANG_COOKIE variable ??
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 SSL file, which will no longer happen in a future release! (https://github.com/docker-library/rabbitmq/pull/424)"
404
418
fi
405
419
if [ "$haveSslConfig" ] && [ -f"$combinedSsl" ];then
406
420
# More ENV vars for make clustering happiness
@@ -410,6 +424,8 @@ if [ "$haveSslConfig" ] && [ -f "$combinedSsl" ]; then
0 commit comments