From f4df6e27a7b2fa62c4ac4e21e0ac6e89a9a29cf5 Mon Sep 17 00:00:00 2001 From: purple_emily Date: Sun, 4 Feb 2024 12:29:27 +0000 Subject: [PATCH] Close the ports for RabbitMQ --- docker-compose.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 7048f82..5a466f4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -68,10 +68,12 @@ services: rabbitmq: image: rabbitmq:3-management - ports: - - "5672:5672" - - "15672:15672" - - "15692:15692" + # # If you need the database to be accessible from outside, please open the below port. + # # Furthermore, please, please, please, look at the documentation for rabbit on how to secure the service. + # ports: + # - "5672:5672" + # - "15672:15672" + # - "15692:15692" volumes: - rabbitmq:/var/lib/rabbitmq restart: *restart-policy