This commit is contained in:
royalcat 2024-04-11 23:56:10 +03:00
parent 9528319b8c
commit ed61135ed6

View file

@ -1,21 +1,6 @@
version: "3" version: "3"
services: services:
pyroscope:
image: grafana/pyroscope:1.5.0
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
expose:
- 4040
volumes:
- ./pyroscope/pyroscope.yml:/etc/pyroscope.yml
- pyroscope_data:/data
networks:
- www
otel-collector: otel-collector:
image: otel/opentelemetry-collector-contrib:0.97.0 image: otel/opentelemetry-collector-contrib:0.97.0
restart: always restart: always
@ -33,13 +18,29 @@ services:
# - 13133:13133 # health_check extension # - 13133:13133 # health_check extension
# - 8889:8889 # Prometheus exporter metrics # - 8889:8889 # Prometheus exporter metrics
# - 8888:8888 # Prometheus metrics exposed by the Collector # - 8888:8888 # Prometheus metrics exposed by the Collector
depends_on: links:
- loki - loki
- prometheus - prometheus
- tempo - tempo
networks: networks:
- www - www
pyroscope:
image: grafana/pyroscope:1.5.0
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
expose:
- 4040
volumes:
- ./pyroscope/pyroscope.yml:/etc/pyroscope.yml
- pyroscope_data:/data
networks:
- www
- default
loki: loki:
image: grafana/loki:2.9.6 image: grafana/loki:2.9.6
restart: unless-stopped restart: unless-stopped
@ -98,11 +99,6 @@ services:
resources: resources:
limits: limits:
memory: 1g memory: 1g
links:
- loki
- prometheus
- tempo
- pyroscope
environment: environment:
GF_SERVER_ROOT_URL: ${GRAFANA_URL} GF_SERVER_ROOT_URL: ${GRAFANA_URL}
GF_SERVER_SERVE_FROM_SUB_PATH: "false" GF_SERVER_SERVE_FROM_SUB_PATH: "false"