Giter Site home page Giter Site logo

traefik-private-plugins's Introduction

Traefik private plugin support

GitHub Workflow Status Docker Image Version (tag latest semver) Docker Image Version (tag latest semver)

Overview

Traefik authors do not see the need to add support for private plugins, forcing to use Traefik Pilot.

They have already rejected several pull requests with different implementations of private plugins (#7725, #7515) and explained their position in detail (comment)

This project adds support for private plugins.

Technical details

Traefik is a big project and maintaining a fork that will contain all the latest updates is too complicated.

I decided to put the support of private plugins into a small patch, which will automatically (using Github Actions) apply to the actual Traefik sources and send the compiled containers to Docker Hub

docker run -p 80:80 -v $PWD/private-plugins-storage:/private-plugins-storage pagran/traefik:v2.4.0

Usage

To activate the private plugin, you must specify private in the version field and place unpacked plugin into ./private-plugins-storage/src folder.

For example plugindemo:

experimental:
  plugins:
    plugindemo:
      moduleName: plugindemo
      version: private
private-plugins-storage/
└── src
    └── plugindemo
        ├── demo.go
        ├── demo_test.go
        ├── .gitignore
        ├── .golangci.toml
        ├── go.mod
        ├── LICENSE
        ├── Makefile
        ├── readme.md
        └── .traefik.yml

traefik-private-plugins's People

Contributors

pagran avatar

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.