commit 3090f1b4a6828beeb16fcebe8407d3a45ec2410b Author: bvn13 Date: Wed Aug 14 22:32:48 2024 +0300 raabbitmq setup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae8c9c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +rabbitmq +rabbitmq/** \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..0bf22c6 --- /dev/null +++ b/docker-compose.yaml @@ -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 \ No newline at end of file