diff --git a/docker-compose.yaml b/docker-compose.yaml index db72ddd..b6f46e0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,21 +1,6 @@ version: "3" 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: image: otel/opentelemetry-collector-contrib:0.97.0 restart: always @@ -33,13 +18,29 @@ services: # - 13133:13133 # health_check extension # - 8889:8889 # Prometheus exporter metrics # - 8888:8888 # Prometheus metrics exposed by the Collector - depends_on: + links: - loki - prometheus - tempo networks: - 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: image: grafana/loki:2.9.6 restart: unless-stopped @@ -98,11 +99,6 @@ services: resources: limits: memory: 1g - links: - - loki - - prometheus - - tempo - - pyroscope environment: GF_SERVER_ROOT_URL: ${GRAFANA_URL} GF_SERVER_SERVE_FROM_SUB_PATH: "false"