version: "3" services: grafana: image: grafana/grafana:9.4.3 ports: - "3000:3000" volumes: - grafana-storage:/var/lib/grafana - ./grafana.ini:/etc/grafana/grafana.ini - ./datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml tempo: image: grafana/tempo:2.0.1 command: [ "-config.file=/etc/tempo.yaml" ] ports: - "3200:3200" - "4317-4318:4317-4318" volumes: - ./tempo.yaml:/etc/tempo.yaml - tempo-data:/tmp/tempo loki: image: grafana/loki:2.7.4 command: [ "-config.file=/mnt/config/loki-config.yaml" ] ports: - "3100:3100" - "9096:9096" volumes: - "./loki-config.yaml:/mnt/config/loki-config.yaml" prometheus: image: prom/prometheus:v2.42.0 command: - --config.file=/etc/prometheus.yaml - --web.enable-remote-write-receiver - --enable-feature=exemplar-storage ports: - "9090:9090" volumes: - ./prometheus.yaml:/etc/prometheus.yaml volumes: grafana-storage: tempo-data: