From dfd8ca212d56d6df27d1cdde80774e71475f56df Mon Sep 17 00:00:00 2001 From: "Andrew N. Shalaev" Date: Tue, 26 Oct 2021 19:35:12 +0500 Subject: [PATCH] Close the nats port from the outside world It is reasonable to bind NATS port to localhost --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3a1f04003..d1588955a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -75,7 +75,7 @@ services: nats: image: nats ports: - - 4222:4222 + - "127.0.0.1:4222:4222" networks: - ionnet