services: loki: image: grafana/loki:latest ports: - "3100:3100" command: -config.file=/etc/loki/local-config.yaml volumes: - ./loki-config.yaml:/etc/loki/local-config.yaml grafana: image: "grafana/grafana:latest" ports: - "3000:3000" volumes: - ./loki.yaml:/etc/grafana/provisioning/datasources/loki.yaml