Refactoring Factory RabbitMQ

This commit is contained in:
Mario
2022-06-04 17:34:03 +02:00
parent ab5a4f8137
commit caf95dc9da
3 changed files with 16 additions and 20 deletions

View File

@ -6,7 +6,7 @@ services:
#network_mode: host # Not work on Mac OS
container_name: beelzebub
restart: always
ports: # Remove me, if use configuration network_mode: host
ports: # Remove me, if you use configuration network_mode: host
- "22:22"
- "8080:8080"
- "80:80"
@ -15,14 +15,4 @@ services:
depends_on:
- rabbitmq
volumes:
- "./configurations:/configurations"
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: 'rabbitmq'
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
- "./configurations:/configurations"