Update docker-compose.yml
This commit is contained in:
parent
4834e2ffea
commit
19203d983a
@ -63,22 +63,40 @@ services:
|
||||
networks:
|
||||
- loki
|
||||
- proxy
|
||||
|
||||
otel-collector:
|
||||
image: ${OTEL-COLLECTOR_IMAGE}
|
||||
container_name: ${OTEL-COLLECTOR_CONTAINER_NAME}
|
||||
hostname: ${OTEL-COLLECTOR_CONTAINER_NAME}
|
||||
command: ["--config=/etc/otel-collector-config.yaml"]
|
||||
volumes:
|
||||
- ./configs/otel-collector-configs/config.yaml:/etc/otel-collector-config.yaml
|
||||
|
||||
tempo:
|
||||
image: grafana/tempo:2.3.0
|
||||
hostname: tempo
|
||||
user: "1000"
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config/tempo/tempo.yaml:/etc/tempo.yaml
|
||||
- ./data.tempo-storage:/tmp/tempo
|
||||
command:
|
||||
- '--config.file=etc/tempo.yaml'
|
||||
ports:
|
||||
# - "8888:8888" # Prometheus metrics exposed by the collector for scrape
|
||||
- "8889:8889" # Prometheus exporter metrics
|
||||
- "13133:13133" # health_check extension
|
||||
- "4317:4317" # OTLP gRPC receiver
|
||||
- "4318:4318" # OTLP http receiver
|
||||
|
||||
- "4317:4317" # otlp grpc.
|
||||
- "3200:3200" # native port for Grafana data source
|
||||
networks:
|
||||
- loki
|
||||
- proxy
|
||||
|
||||
otel-collector:
|
||||
image: ${OTEL-COLLECTOR_IMAGE}
|
||||
container_name: ${OTEL-COLLECTOR_CONTAINER_NAME}
|
||||
hostname: ${OTEL-COLLECTOR_CONTAINER_NAME}
|
||||
command: ["--config=/etc/otel-collector-config.yaml"]
|
||||
volumes:
|
||||
- ./configs/otel-collector-configs/config.yaml:/etc/otel-collector-config.yaml
|
||||
ports:
|
||||
# - "8888:8888" # Prometheus metrics exposed by the collector for scrape
|
||||
- "8889:8889" # Prometheus exporter metrics
|
||||
- "13133:13133" # health_check extension
|
||||
- "4317:4317" # OTLP gRPC receiver
|
||||
- "4318:4318" # OTLP http receiver
|
||||
networks:
|
||||
- loki
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
loki:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user