Skip to content

Commit 5bd0770

Browse files
author
Alan Christie
committed
build: Docker compose now starts rabbitmq with stream plugins
1 parent cb07095 commit 5bd0770

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ services:
1111
RABBITMQ_NODENAME: rabbit@localhost
1212
RABBITMQ_DEFAULT_USER: es
1313
RABBITMQ_DEFAULT_PASS: cheddar1963
14+
RABBITMQ_ENABLED_PLUGINS_FILE: /config/enabled_plugins
1415
ports:
1516
- '4369:4369'
1617
- '5672:5672'
1718
- '15672:15672'
1819
- '25672:25672'
20+
volumes:
21+
- type: bind
22+
source: ./rabbitmq-enabled-plugins
23+
target: /config
1924

2025
memcached:
2126
image: memcached:1.6.38-alpine3.21
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A directory mounted into the local compose rabbitmq that enables the
2+
built-in rabbitmq_stream, and rabbitmq_stream_management plugins.
3+
This directory is mounted into the docker container and
4+
the rabbitmq variable RABBITMQ_ENABLED_PLUGINS_FILE is set to the
5+
location of the "enabled_plugins" file when mounted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[rabbitmq_management,rabbitmq_stream,rabbitmq_stream_management].

0 commit comments

Comments
 (0)