# Auto-provision the Loki datasource so Grafana comes up already wired to it — # no click-ops. Loki runs in the same compose stack, reachable by service name. apiVersion: 1 datasources: - name: Loki type: loki access: proxy url: http://loki:3100 uid: loki # stable UID so the provisioned dashboards can bind to it isDefault: true jsonData: maxLines: 2000