This guide uses Docker Compose to run Loki with Grafana.
mkdir -p loki
cd loki
Use the official Loki Docker Compose example from Grafana docs, then save it as docker-compose.yml.
docker compose up -d
Install Promtail or another log shipper and configure it to send logs to Loki.
See Grafana Loki Configuration for configuration guidance.
Any questions?
Feel free to contact us. Find all contact information on our contact page.
Prefer automation? See Grafana Loki Ansible Setup for an example playbook.
Prefer containers? See Grafana Loki Docker Setup.
See Grafana Loki Security for hardening guidance.