docker compose: not exposing ports

This commit is contained in:
Ivan Folgueira Bande 2023-10-09 20:24:51 +02:00 committed by Ivan FB
parent 19fdb11f20
commit 5c80a9fb7f
2 changed files with 0 additions and 36 deletions

View File

@ -34,8 +34,6 @@ services:
## to REST-Store requests ## to REST-Store requests
image: statusteam/nim-waku:v0.20.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:8645:8645/tcp
<<: <<:
- *logging - *logging
volumes: volumes:
@ -50,10 +48,6 @@ services:
## Waku node with Store mounted & SQLite ## Waku node with Store mounted & SQLite
image: ubuntu image: ubuntu
restart: on-failure restart: on-failure
ports:
- 8546:8546/tcp
- 8004:8004
- 0.0.0.0:30304:30304
<<: <<:
- *logging - *logging
volumes: volumes:
@ -69,8 +63,6 @@ services:
## to REST-Store requests ## to REST-Store requests
image: statusteam/nim-waku:v0.20.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:8646:8646/tcp
<<: <<:
- *logging - *logging
volumes: volumes:
@ -85,10 +77,6 @@ services:
## Waku node with Store mounted & Postgres ## Waku node with Store mounted & Postgres
image: ubuntu image: ubuntu
restart: on-failure restart: on-failure
ports:
- 8545:8545/tcp
- 8003:8003
- 0.0.0.0:30303:30303
<<: <<:
- *logging - *logging
- *pg_env - *pg_env
@ -123,8 +111,6 @@ services:
- ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z - ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z
command: command:
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
ports:
- 127.0.0.1:9090:9090
restart: on-failure restart: on-failure
depends_on: depends_on:
- postgres-exporter - 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_icon.svg:Z
- ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_typelogo.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 - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z
ports:
- 127.0.0.1:3000:3000
restart: on-failure restart: on-failure
depends_on: depends_on:
- prometheus - prometheus
@ -155,8 +139,6 @@ services:
image: postgres:15.4-alpine3.18 image: postgres:15.4-alpine3.18
restart: on-failure restart: on-failure
<<: *pg_env <<: *pg_env
ports:
- 0.0.0.0:5432:5432
volumes: volumes:
- ./data/postgres-data:/var/lib/postgresql/data - ./data/postgres-data:/var/lib/postgresql/data
- ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf - ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf

View File

@ -32,10 +32,6 @@ services:
## Waku node with Store mounted & Postgres ## Waku node with Store mounted & Postgres
image: statusteam/nim-waku:v0.20.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 8545:8545/tcp
- 8003:8003
- 127.0.0.1:30303:30303
<<: <<:
- *logging - *logging
- *pg_env - *pg_env
@ -52,8 +48,6 @@ services:
## to REST-Store requests ## to REST-Store requests
image: statusteam/nim-waku:v0.20.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:8645:8645/tcp
<<: <<:
- *logging - *logging
volumes: volumes:
@ -68,10 +62,6 @@ services:
## Waku node with Store mounted & SQLite ## Waku node with Store mounted & SQLite
image: statusteam/nim-waku:v0.19.0 image: statusteam/nim-waku:v0.19.0
restart: on-failure restart: on-failure
ports:
- 8546:8546/tcp
- 8004:8004
- 127.0.0.1:30304:30304
<<: <<:
- *logging - *logging
volumes: volumes:
@ -86,8 +76,6 @@ services:
## to REST-Store requests ## to REST-Store requests
image: statusteam/nim-waku:v0.19.0 image: statusteam/nim-waku:v0.19.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:8646:8646/tcp
<<: <<:
- *logging - *logging
volumes: volumes:
@ -119,8 +107,6 @@ services:
- ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z - ./monitoring/prometheus-config.yml:/etc/prometheus/prometheus.yml:Z
command: command:
- --config.file=/etc/prometheus/prometheus.yml - --config.file=/etc/prometheus/prometheus.yml
ports:
- 127.0.0.1:9090:9090
restart: on-failure restart: on-failure
depends_on: depends_on:
- postgres-exporter - 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_icon.svg:Z
- ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_typelogo.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 - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z
ports:
- 127.0.0.1:3000:3000
restart: on-failure restart: on-failure
depends_on: depends_on:
- prometheus - prometheus
@ -151,8 +135,6 @@ services:
image: postgres:15.4-alpine3.18 image: postgres:15.4-alpine3.18
restart: on-failure restart: on-failure
<<: *pg_env <<: *pg_env
ports:
- 5432:5432
volumes: volumes:
- ./data/postgres-data:/var/lib/postgresql/data - ./data/postgres-data:/var/lib/postgresql/data
- ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf - ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf