traefik
This commit is contained in:
parent
eef40f335b
commit
11c453c117
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue