mirror of
https://github.com/waku-org/go-waku-compose.git
synced 2025-02-23 09:28:11 +00:00
Merge pull request #1 from waku-org/unpublish-pg-port-to-avoid-collision
Unpublish pg port to avoid collision & restrict Grafana port to 127.0.0.1
This commit is contained in:
commit
74c7e2873d
@ -87,7 +87,7 @@ services:
|
|||||||
- ./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:
|
ports:
|
||||||
- 3000:3000
|
- 127.0.0.1:3000:3000
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
@ -102,8 +102,6 @@ services:
|
|||||||
- ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf
|
- ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf
|
||||||
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql
|
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql
|
||||||
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
|
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@ -119,8 +117,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./monitoring/configuration/postgres-exporter.yml:/etc/pgexporter/postgres-exporter.yml
|
- ./monitoring/configuration/postgres-exporter.yml:/etc/pgexporter/postgres-exporter.yml
|
||||||
- ./monitoring/configuration/pg-exporter-queries.yml:/etc/pgexporter/queries.yml
|
- ./monitoring/configuration/pg-exporter-queries.yml:/etc/pgexporter/queries.yml
|
||||||
ports:
|
|
||||||
- 9187:9187
|
|
||||||
command:
|
command:
|
||||||
# Both the config file and 'DATA_SOURCE_NAME' should contain valid connection info
|
# Both the config file and 'DATA_SOURCE_NAME' should contain valid connection info
|
||||||
- --config.file=/etc/pgexporter/postgres-exporter.yml
|
- --config.file=/etc/pgexporter/postgres-exporter.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user