raabbitmq setup

This commit is contained in:
bvn13 2024-08-14 22:32:48 +03:00
commit 3090f1b4a6
2 changed files with 16 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
rabbitmq
rabbitmq/**

14
docker-compose.yaml Normal file
View File

@ -0,0 +1,14 @@
version: "3.3"
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:
- ./rabbitmq:/var/lib/rabbitmq
ports:
- 15672:15672