https://github.com/PrivPlugMatt/traefik-private-plugins
Automatic patch for Traefik supporting private plugins
https://github.com/PrivPlugMatt/traefik-private-plugins
traefik traefik-docker traefik-plugin traefik-v2
Last synced: 6 months ago
JSON representation
Automatic patch for Traefik supporting private plugins
- Host: GitHub
- URL: https://github.com/PrivPlugMatt/traefik-private-plugins
- Owner: PrivPlugMatt
- License: mit
- Archived: true
- Created: 2021-01-28T21:48:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-19T12:23:54.000Z (over 4 years ago)
- Last Synced: 2024-02-13T21:58:56.065Z (over 1 year ago)
- Topics: traefik, traefik-docker, traefik-plugin, traefik-v2
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 21
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traefik private plugin support


## Overview
[Traefik](https://github.com/traefik/traefik) authors do not see the need to add support for private plugins, forcing to use [Traefik Pilot](https://traefik.io/traefik-pilot/).
They have already rejected several pull requests with different implementations of private plugins ([#7725](https://github.com/traefik/traefik/pull/7725), [#7515](https://github.com/traefik/traefik/pull/7515)) and explained their position in detail ([comment](https://github.com/traefik/traefik/pull/7515#issuecomment-726133992))
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](https://github.com/PrivPlugMatt/traefik-private-plugins/actions)) apply to the actual Traefik sources and send the compiled containers to [Docker Hub](https://hub.docker.com/r/pagran/traefik)
## [Docker](https://hub.docker.com/r/pagran/traefik)
`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](https://github.com/traefik/plugindemo):
```yaml
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
```