How to read the grafana log file with promtail

Does anyone know how to read the grafana log file with promtail if they are running in separate containers with docker-compose?

Yup, pretty straightforward

    image: grafana/promtail
    container_name: promtail
    volumes:
      - /var/lib/docker/containers:/var/lib/docker/containers
      - /docker/promtail-docker-config.yml:/etc/promtail/promtail-docker-config.yml
      - /var/log/nginx:/var/log/nginx
    command: -config.file=/etc/promtail/promtail-docker-config.yml```
That’s what I used for nginx logs, you can probably tweak to make it work with grafana. Just check where grafana is storing logs

I ended up using the Loki log driver instead