We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b16606 commit 1e51d55Copy full SHA for 1e51d55
docker/docker-compose-dev.yml
@@ -1,9 +1,18 @@
1
version: '3.9'
2
3
+volumes:
4
+ rabbit-data:
5
+ driver: local
6
+
7
services:
8
rabbit:
9
image: rabbitmq:3-management #you may open management UI via http://localhost:15672/#/ login&password == guest
10
container_name: rabbit
11
+ #hostname required here to work with the volume on persistent queues.
12
+ #Rabbit saves data by folders whose names are generated from the host. To have data restored on container restart we need to commit the host.
13
+ hostname: rabbit
14
+ volumes:
15
+ - rabbit-data:/var/lib/rabbitmq
16
ports:
17
- "5672:5672"
18
- "15672:15672"
0 commit comments