From 13ad7626f8b4e400f795b0029ac09154835ff4eb Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Thu, 10 Aug 2023 10:52:46 +0200 Subject: [PATCH] waku metrics, rpc, and prometheus ports accessible only from 127.0.0.1 --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 42f6038..10dbdea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,9 +47,9 @@ services: ports: - 30304:30304/tcp - 30304:30304/udp - - 8545:8545/tcp + - 127.0.0.1:8545:8545/tcp - 9005:9005/udp - - 8003:8003 + - 127.0.0.1:8003:8003 <<: - *logging - *pg_env @@ -68,7 +68,7 @@ services: command: - --config.file=/etc/prometheus/prometheus.yml ports: - - 9090:9090 + - 127.0.0.1:9090:9090 restart: on-failure depends_on: - postgres-exporter