diff --git a/docker/monitor.yml b/docker/monitor.yml index 1e60c3ea1d..c4172eb0d5 100644 --- a/docker/monitor.yml +++ b/docker/monitor.yml @@ -17,10 +17,12 @@ services: command: - "--statsd.mapping-config=/statsd/statsd.conf" ports: - - 9102:9102 + - ${STATSD_EXPOSE:-9102}:9102 postgres_exporter: - image: prometheuscommunity/postgres-exporter:v0.10.0 + image: prometheuscommunity/postgres-exporter:v0.11.1 environment: - DATA_SOURCE_NAME=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:5432/${POSTGRES_DB}?sslmode=disable depends_on: - postgres + ports: + - ${POSTGRES_EXPORTER_EXPOSE:-9187}:9187