21 lines
505 B
YAML
21 lines
505 B
YAML
|
networks:
|
||
|
rabbitmq:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
rabbitmq:
|
||
|
image: rabbitmq:3.13.6-management
|
||
|
hostname: rabbitmq
|
||
|
restart: always
|
||
|
environment:
|
||
|
- RABBITMQ_DEFAULT_USER=rmuser
|
||
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_PASS}
|
||
|
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit log_levels [{connection,error},{default,error}] disk_free_limit 2147483648
|
||
|
volumes:
|
||
|
- ${CONTAINER}:/var/lib/rabbitmq
|
||
|
ports:
|
||
|
- 15672:15672
|
||
|
- 5672:5672
|
||
|
networks:
|
||
|
- rabbitmq
|