Update readme, add makefile operations

This commit is contained in:
MathieuHa
2022-10-03 00:10:31 +02:00
parent 54183fbc97
commit 18e4d42e8e
2 changed files with 17 additions and 1 deletions
+9
View File
@@ -18,3 +18,12 @@ 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
+7
View File
@@ -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.