From 70b25d28b11d643b97798f7c9c5fbe30da7a3fdc Mon Sep 17 00:00:00 2001 From: serguun42 Date: Thu, 16 Nov 2023 03:19:59 +0300 Subject: [PATCH] Limit ports binding in Docker Compose --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f41afbe..3a11aae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: context: ./backend restart: always ports: - - ${BACKEND_PUBLISH_PORT}:80 + - 127.0.0.1:${BACKEND_PUBLISH_PORT}:80 mss-notifier: container_name: mss-notifier @@ -21,7 +21,7 @@ services: context: ./notifier restart: always ports: - - ${NOTIFIER_PUBLISH_PORT}:80 + - 127.0.0.1:${NOTIFIER_PUBLISH_PORT}:80 mss-telegram: container_name: mss-telegram