Giter Site home page Giter Site logo

loki-auth-proxy's Introduction

Grafana Loki - Stateless multi tenant authentication proxy

PkgGoDev Codacy Badge codecov

Stateless multi tenant authentication proxy, that handles authentication and setting X-Scope-OrgID for Grafana Loki.

Please be nice to me, the project is work in progress :)

Requirements

To use this, Grafana Loki needs to be configured in multi tenant mode with auth_enabled: true as described in the official docs.

Installing

Binaries

You will find pre-compiled binaries and packages for the most common OS under the releases.

Docker

docker run -v $(pwd)/loki-auth-proxy.yml:/etc/loki-auth-proxy.yml -v $(pwd)/loki-auth.yml:/etc/loki-auth.yml -p 8081:8081 ghcr.io/jpbede/loki-auth-proxy:latest

or via docker-compose.yml

version: "3"
services:
  auth-proxy:
    image: ghcr.io/jpbede/loki-auth-proxy:latest
    ports:
      - 8081:8081
    volumes:
      - "/etc/loki-auth-proxy.yml:/etc/loki-auth-proxy.yaml"
      - "/etc/loki-auth.yml:/etc/loki-auth.yml"

macOS

Simply use homebrew (https://brew.sh/)

To install loki-auth-proxy use following command brew install jpbede/tap/loki-auth-proxy

Using it

An example configuration you can find at example/loki-auth-proxy.yaml.

loki-auth-proxy's People

Contributors

dependabot[bot] avatar jpbede avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

loki-auth-proxy's Issues

Log tail isn't working

Fix the /loki/api/v1/tail endpoint, this is a websocket endpoint. Currently it isn't working

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.