mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
Update readme, add makefile operations
This commit is contained in:
@@ -17,4 +17,13 @@ vendor:
|
|||||||
go mod vendor
|
go mod vendor
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ./vendor
|
rm -rf ./vendor
|
||||||
|
|
||||||
|
run_dev:
|
||||||
|
docker-compose -f docker-compose.dev.yml up -d --remove-orphans
|
||||||
|
|
||||||
|
run_local:
|
||||||
|
docker-compose -f docker-compose.local.yml up -d --remove-orphans
|
||||||
|
|
||||||
|
run:
|
||||||
|
docker-compose -f docker-compose.yml up -d --remove-orphans
|
||||||
@@ -29,6 +29,13 @@ The recommanded mode for performance is the streaming mode, decisions are update
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
To get started, use the `docker-compose.yml` file.
|
||||||
|
|
||||||
|
You can run it with:
|
||||||
|
```bash
|
||||||
|
make run
|
||||||
|
```
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
Each middleware in traefik has it's own data and is instanciated by service.
|
Each middleware in traefik has it's own data and is instanciated by service.
|
||||||
This means if there are 10 services protected by the bouncer in streaming alone or live mode, the cache will be duplicated to all 10 services.
|
This means if there are 10 services protected by the bouncer in streaming alone or live mode, the cache will be duplicated to all 10 services.
|
||||||
|
|||||||
Reference in New Issue
Block a user