forked from julianazanelatto/RabbitMQSpring
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (21 loc) · 793 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
25 lines (21 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# RabbitMQ properties
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq_management
ports:
- 25672:25672
- 15672:15672
volumes:
# persistencia de dados
- /docker_conf/rabbitmq/data/:/var/lib/rabbitmq/
# mapemanento dos dados host:container
# neste caso serão armazenados no host os dados sobre as filas e mensagens do container
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=pass123
restart: always
volumes:
logs-folder:
name: ${log_rabbitmq_management}
driver: local