Skip to content

Loki log aggregation system running with docker-compose.With Cassandra db and Minio for databases, and traefik for ssl. [gitlab-project](https://gitlab.com/botux-fr/docker/docker-service-loki)

License

Notifications You must be signed in to change notification settings

boTux-fr/docker-compose-loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki docker-compose

Loki log aggregation system with docker-compose.

Whith this project you can test out loki with :

  • Cassandra as index db
  • Minio as chunks db
  • Promtail
  • Prometheus and cadvisor
  • Traefik reverse-proxy for ssl

We recommand to use helm chart or check out the doc for production use. This repository will kickstart a loki instance to check out capabilities and configurations tweaks.

Running

Copy .env.dist to .env and /config/loki-config.yaml.dist to /config/loki-config.yaml and edit the two files.

You need to set minio access_key and secret in /config/loki-config.yaml.

To get a fully running stack, run docker-service-traefik with this docker-compose.

  1. Copy configurations files
    # Copy env.dist
    cp .env.dist .env && cp config/loki-config.yaml.dist config/loki-config.yaml
    # Edit .env with your editor
    vim .env config/loki-config.yaml
  2. Check configuration
    docker-compose -f docker-compose.yml -f compose/cassandra.yml -f compose/minio.yml -f compose/prometheus.yaml -f compose/traefik.yml config
  3. Run the stack
    docker-compose -f docker-compose.yml -f compose/cassandra.yml -f compose/minio.yml -f compose/prometheus.yaml -f compose/traefik.yml up -d
  4. Access grafana
    1. Add sources :
    2. Go to explorer and have fun !

Author

Romain Fluttaz

About

Loki log aggregation system running with docker-compose.With Cassandra db and Minio for databases, and traefik for ssl. [gitlab-project](https://gitlab.com/botux-fr/docker/docker-service-loki)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published