avoid exposing port 9090 to prevent clashes with other local services (#93)

This commit is contained in:
Ivan FB 2024-05-15 18:19:33 +02:00 committed by GitHub
parent bba6f8b9a5
commit 6d16284abf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,8 +82,8 @@ 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: # ports:
- 127.0.0.1:9090:9090 # - 127.0.0.1:9090:9090
restart: on-failure:5 restart: on-failure:5
depends_on: depends_on:
- postgres-exporter - postgres-exporter