remove public ports

This commit is contained in:
royalcat 2024-04-11 23:43:25 +03:00
parent 4d0aec8ec9
commit 9528319b8c

View file

@ -26,17 +26,19 @@ services:
command: "--config=/etc/otel-collector-config.yaml"
volumes:
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
ports:
- 4317:4317 # OTLP gRPC receiver
- 4318:4318 # OTLP http receiver
expose:
- 13133:13133 # health_check extension
- 8889:8889 # Prometheus exporter metrics
- 8888:8888 # Prometheus metrics exposed by the Collector
- 4317 # OTLP gRPC receiver
- 4318 # OTLP http receiver
# expose:
# - 13133:13133 # health_check extension
# - 8889:8889 # Prometheus exporter metrics
# - 8888:8888 # Prometheus metrics exposed by the Collector
depends_on:
- loki
- prometheus
- tempo
networks:
- www
loki:
image: grafana/loki:2.9.6
@ -122,8 +124,6 @@ services:
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/ds.yaml
ports:
- ${GRAFANA_PORT}:3000
networks:
- default
- www