1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-11-29 22:38:35 +02:00

Merge pull request #114 from udelblue/master

added rabbitmq
This commit is contained in:
Kevin He
2019-10-27 07:34:01 +08:00
committed by GitHub
2 changed files with 40 additions and 0 deletions

26
rabbitmq/README.md Normal file
View File

@@ -0,0 +1,26 @@
Rabbit MQ
=======
localhost 15672
user guest
pw guest
```bash
# Config
[
{rabbit,
[
%% The default "guest" user is only permitted to access the server
%% via a loopback interface (e.g. localhost).
%% {loopback_users, [<<"guest">>]},
%%
%% Uncomment the following line if you want to allow access to the
%% guest user from anywhere on the network.
{loopback_users, []},
{default_vhost, "/"},
{default_user, "guest"},
{default_pass, "guest"},
{default_permissions, [".*", ".*", ".*"]}
]}
].
```

View File

@@ -0,0 +1,14 @@
version: '3'
services:
rabbitmq:
image: "rabbitmq:3-management"
hostname: "rabbit"
ports:
- "15672:15672"
- "5672:5672"
labels:
NAME: "rabbitmq"
volumes:
- ./rabbitmq-isolated.conf:/etc/rabbitmq/rabbitmq.config