Skip to content

Commit 81ad77e

Browse files
committed
Apply the same default config as docker-library/rabbitmq
1 parent db2aeea commit 81ad77e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## DEFAULT SETTINGS ARE NOT MEANT TO BE TAKEN STRAIGHT INTO PRODUCTION
2+
## see https://www.rabbitmq.com/configure.html for further information
3+
## on configuring RabbitMQ
4+
5+
## allow access to the guest user from anywhere on the network
6+
## https://www.rabbitmq.com/access-control.html#loopback-users
7+
## https://www.rabbitmq.com/production-checklist.html#users
8+
loopback_users.guest = false

packaging/docker-image/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ VOLUME $RABBITMQ_DATA_DIR
250250
# https://docs.docker.com/samples/library/ubuntu/#locales
251251
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
252252

253+
COPY --chown=rabbitmq:rabbitmq 10-default-guest-user.conf /etc/rabbitmq/conf.d/
253254
COPY docker-entrypoint.sh /usr/local/bin/
254255
ENTRYPOINT ["docker-entrypoint.sh"]
255256

0 commit comments

Comments
 (0)