Skip to content

javorszky/localdev-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localdev-util

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/

How to use this?

  1. clone the repository
  2. 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
  3. start everything using docker compose up
  4. try to log into the various things:
    1. grafana: [http://localhost:3998], use admin / admin first time, and change the password to whatever you would like
    2. seq: http://localhost:8089, use admin for username, and whatever password you created the hash for in step 2
  5. connect your services that are running in a separate docker compose:
    1. send GELF logs to udp://host.docker.internal:12201
    2. send traces from your trace exporter to host.docker.internal:6666 using insecure tls

That should be everything.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published