This commit is contained in:
royalcat 2024-11-15 21:24:22 +03:00
parent eef40f335b
commit 11c453c117

View file

@ -7,6 +7,10 @@ services:
expose:
- 4317 # OTLP gRPC receiver
- 4318 # OTLP http receiver
labels:
- "traefik.enable=true"
- "traefik.http.routers.otel.rule=Host(`otel.kmsign.ru`)"
- "traefik.http.services.otel-http.loadbalancer.server.port=4318"
links:
- loki
- mimir
@ -19,6 +23,10 @@ services:
image: grafana/pyroscope:1.7.1
expose:
- 4040
labels:
- "traefik.enable=true"
- "traefik.http.routers.pyroscope.rule=Host(`pyroscope.kmsign.ru`)"
- "traefik.http.services.pyroscope.loadbalancer.server.port=4040"
volumes:
- ./pyroscope/config.yaml:/etc/pyroscope.yml
- pyroscope_data:/data