This commit is contained in:
Матвей
2026-10-27 12:24:31 +03:00
parent a1bb6f8bde
commit 6bc0712c2c
27 changed files with 16362 additions and 86 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
# RabbitMQ 4 no longer supports *_FILE. Keep the password in a Docker
# secret and export it only inside the running container, never in Compose.
RABBITMQ_DEFAULT_PASS="$(cat /run/secrets/rabbitmq_password)"
if [ -z "$RABBITMQ_DEFAULT_PASS" ]; then
echo "RabbitMQ password secret must not be empty" >&2
exit 1
fi
export RABBITMQ_DEFAULT_PASS
exec /usr/local/bin/docker-entrypoint.sh "$@"