diff --git a/Makefile b/Makefile index 04f6f05..de8a8e7 100644 --- a/Makefile +++ b/Makefile @@ -17,4 +17,13 @@ vendor: go mod vendor clean: - rm -rf ./vendor \ No newline at end of file + 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 \ No newline at end of file diff --git a/README.md b/README.md index f6753cc..93474b9 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,13 @@ The recommanded mode for performance is the streaming mode, decisions are update ## Usage +To get started, use the `docker-compose.yml` file. + +You can run it with: +```bash +make run +``` + ### Note 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.