Update documentation, exemples and code for redis support

This commit is contained in:
MathieuHa
2022-11-05 21:45:43 +01:00
parent 5044004ec2
commit d8ee0a34eb
6 changed files with 34 additions and 9 deletions
@@ -2,7 +2,7 @@ version: "3.8"
services:
traefik:
image: "traefik:v2.8.8"
image: "traefik:v2.9.4"
container_name: "traefik"
command:
# - "--log.level=DEBUG"
@@ -33,7 +33,7 @@ services:
labels:
- "traefik.enable=true"
# Definition of the router
- "traefik.http.routers.router1.rule=Host(`localhost`) && Path(`/foo`)"
- "traefik.http.routers.router1.rule=Path(`/foo`)"
- "traefik.http.routers.router1.entrypoints=web"
- "traefik.http.routers.router1.middlewares=crowdsec1@docker"
# Definition of the service
@@ -50,7 +50,7 @@ services:
labels:
- "traefik.enable=true"
# Definition of the router
- "traefik.http.routers.router2.rule=Host(`localhost`) && Path(`/bar`)"
- "traefik.http.routers.router2.rule=Path(`/bar`)"
- "traefik.http.routers.router2.entrypoints=web"
- "traefik.http.routers.router2.middlewares=crowdsec1@docker"
# Definition of the service