This uses host networking because Docker DNS resolver was not working for me. So, should work without problems now.
First run the fluentd container as it should be up and running at port 5432 before Gitea server is up. So:
docker compose up -d fluentdAnd wait like 10 seconds for it to settle down. Then run:
docker compose up -d gitea loki grafanaWait like a minute for loki ingester to be ready.
If you are inpatient, you can check with this:
curl https://localhost:3100/readyIf it's ready then you will get ready code or you will get something like Ingester is not ready, wait like 15 seconds or something like that.
Remove volumes if you f up with the Gitea database or Grafana setup