remove public ports
This commit is contained in:
parent
4d0aec8ec9
commit
9528319b8c
1 changed files with 8 additions and 8 deletions
|
@ -26,17 +26,19 @@ services:
|
||||||
command: "--config=/etc/otel-collector-config.yaml"
|
command: "--config=/etc/otel-collector-config.yaml"
|
||||||
volumes:
|
volumes:
|
||||||
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
|
- ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
|
||||||
ports:
|
|
||||||
- 4317:4317 # OTLP gRPC receiver
|
|
||||||
- 4318:4318 # OTLP http receiver
|
|
||||||
expose:
|
expose:
|
||||||
- 13133:13133 # health_check extension
|
- 4317 # OTLP gRPC receiver
|
||||||
- 8889:8889 # Prometheus exporter metrics
|
- 4318 # OTLP http receiver
|
||||||
- 8888:8888 # Prometheus metrics exposed by the Collector
|
# expose:
|
||||||
|
# - 13133:13133 # health_check extension
|
||||||
|
# - 8889:8889 # Prometheus exporter metrics
|
||||||
|
# - 8888:8888 # Prometheus metrics exposed by the Collector
|
||||||
depends_on:
|
depends_on:
|
||||||
- loki
|
- loki
|
||||||
- prometheus
|
- prometheus
|
||||||
- tempo
|
- tempo
|
||||||
|
networks:
|
||||||
|
- www
|
||||||
|
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:2.9.6
|
image: grafana/loki:2.9.6
|
||||||
|
@ -122,8 +124,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- grafana_data:/var/lib/grafana
|
- grafana_data:/var/lib/grafana
|
||||||
- ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/ds.yaml
|
- ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/ds.yaml
|
||||||
ports:
|
|
||||||
- ${GRAFANA_PORT}:3000
|
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
- www
|
- www
|
||||||
|
|
Loading…
Reference in a new issue