From 5c80a9fb7f29be31b9733583ddb799c351af0ae6 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 9 Oct 2023 20:24:51 +0200 Subject: [PATCH] docker compose: not exposing ports --- docker/docker-compose-manual-binaries.yml | 18 ------------------ docker/docker-compose.yml | 18 ------------------ 2 files changed, 36 deletions(-) diff --git a/docker/docker-compose-manual-binaries.yml b/docker/docker-compose-manual-binaries.yml index 0289c83..23695bf 100644 --- a/docker/docker-compose-manual-binaries.yml +++ b/docker/docker-compose-manual-binaries.yml @@ -34,8 +34,6 @@ services: ## to REST-Store requests image: statusteam/nim-waku:v0.20.0 restart: on-failure - ports: - - 0.0.0.0:8645:8645/tcp <<: - *logging volumes: @@ -50,10 +48,6 @@ services: ## Waku node with Store mounted & SQLite image: ubuntu restart: on-failure - ports: - - 8546:8546/tcp - - 8004:8004 - - 0.0.0.0:30304:30304 <<: - *logging volumes: @@ -69,8 +63,6 @@ services: ## to REST-Store requests image: statusteam/nim-waku:v0.20.0 restart: on-failure - ports: - - 0.0.0.0:8646:8646/tcp <<: - *logging volumes: @@ -85,10 +77,6 @@ services: ## Waku node with Store mounted & Postgres image: ubuntu restart: on-failure - ports: - - 8545:8545/tcp - - 8003:8003 - - 0.0.0.0:30303:30303 <<: - *logging - *pg_env @@ -123,8 +111,6 @@ services: - ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z command: - --config.file=/etc/prometheus/prometheus.yml - ports: - - 127.0.0.1:9090:9090 restart: on-failure depends_on: - postgres-exporter @@ -143,8 +129,6 @@ services: - ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_icon.svg:Z - ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_typelogo.svg:Z - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z - ports: - - 127.0.0.1:3000:3000 restart: on-failure depends_on: - prometheus @@ -155,8 +139,6 @@ services: image: postgres:15.4-alpine3.18 restart: on-failure <<: *pg_env - ports: - - 0.0.0.0:5432:5432 volumes: - ./data/postgres-data:/var/lib/postgresql/data - ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3ebc51e..0a58079 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -32,10 +32,6 @@ services: ## Waku node with Store mounted & Postgres image: statusteam/nim-waku:v0.20.0 restart: on-failure - ports: - - 8545:8545/tcp - - 8003:8003 - - 127.0.0.1:30303:30303 <<: - *logging - *pg_env @@ -52,8 +48,6 @@ services: ## to REST-Store requests image: statusteam/nim-waku:v0.20.0 restart: on-failure - ports: - - 0.0.0.0:8645:8645/tcp <<: - *logging volumes: @@ -68,10 +62,6 @@ services: ## Waku node with Store mounted & SQLite image: statusteam/nim-waku:v0.19.0 restart: on-failure - ports: - - 8546:8546/tcp - - 8004:8004 - - 127.0.0.1:30304:30304 <<: - *logging volumes: @@ -86,8 +76,6 @@ services: ## to REST-Store requests image: statusteam/nim-waku:v0.19.0 restart: on-failure - ports: - - 0.0.0.0:8646:8646/tcp <<: - *logging volumes: @@ -119,8 +107,6 @@ services: - ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z command: - --config.file=/etc/prometheus/prometheus.yml - ports: - - 127.0.0.1:9090:9090 restart: on-failure depends_on: - postgres-exporter @@ -139,8 +125,6 @@ services: - ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_icon.svg:Z - ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_typelogo.svg:Z - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z - ports: - - 127.0.0.1:3000:3000 restart: on-failure depends_on: - prometheus @@ -151,8 +135,6 @@ services: image: postgres:15.4-alpine3.18 restart: on-failure <<: *pg_env - ports: - - 5432:5432 volumes: - ./data/postgres-data:/var/lib/postgresql/data - ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf