remove prometheus' port

This commit is contained in:
Didier Slof 2023-01-09 23:24:34 +01:00
parent 496e1b103c
commit cce9363964
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -101,14 +101,11 @@ services:
prometheus: prometheus:
build: build:
context: ./custom/prometheus context: ./custom/prometheus
ports:
- 9090:9090
networks: networks:
- metrics - metrics
extra_hosts: extra_hosts:
- "docker.host:host-gateway" - "docker.host:host-gateway"
node-exporter: node-exporter:
image: quay.io/prometheus/node-exporter:latest image: quay.io/prometheus/node-exporter:latest
container_name: node-exporter container_name: node-exporter