A docker compose file that has log ingest and service using seq and seq-gelf, trace ingest using tempo, trace visualisation using grafana, and a golang module proxy using athens.
I wrote a blog post about it here: https://javorszky.co.uk/2023/05/20/local-development-scaffolding/
- clone the repository
- create an environment variable named
SEQ_PH
in your rc file (.bashrc
,.zshrc
, see your choice of shell) and set the value to the output of the following command:echo '<password>' | docker run --rm -i datalust/seq config hash
- start everything using
docker compose up
- try to log into the various things:
- grafana: [http://localhost:3998], use
admin
/admin
first time, and change the password to whatever you would like - seq: http://localhost:8089, use
admin
for username, and whatever password you created the hash for in step 2
- grafana: [http://localhost:3998], use
- connect your services that are running in a separate docker compose:
- send GELF logs to
udp://host.docker.internal:12201
- send traces from your trace exporter to
host.docker.internal:6666
using insecure tls
- send GELF logs to
That should be everything.