🍱 change logging

This commit is contained in:
Max Lerebourg
2022-11-15 19:50:22 +01:00
parent 1baa5d7667
commit bf76ca9ef5
2 changed files with 10 additions and 9 deletions
@@ -13,9 +13,9 @@ services:
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
#- "--experimental.plugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
#- "--experimental.plugins.bouncer.version=v1.0.9"
- "--experimental.localplugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
- "--experimental.plugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
- "--experimental.plugins.bouncer.version=v1.1.2"
# - "--experimental.localplugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- logs-redis:/var/log/traefik
@@ -33,7 +33,7 @@ services:
labels:
- "traefik.enable=true"
# Definition of the router
- "traefik.http.routers.router1.rule=Path(`/foo`)"
- "traefik.http.routers.router1.rule=Host(`localhost`)"
- "traefik.http.routers.router1.entrypoints=web"
- "traefik.http.routers.router1.middlewares=crowdsec1@docker"
# Definition of the service
@@ -48,11 +48,11 @@ services:
image: 4206969/spiderfoot
container_name: "simple-service2"
volumes:
- ./spiderfoot-data:/var/lib/spiderfoot
- spiderfoot-data:/var/lib/spiderfoot
labels:
- "traefik.enable=true"
# Definition of the router
- "traefik.http.routers.router2.rule=PathPrefix(`/`)"
- "traefik.http.routers.router2.rule=Host(`127.0.0.1`)"
- "traefik.http.routers.router2.entrypoints=web"
- "traefik.http.routers.router2.middlewares=crowdsec1@docker"
# Definition of the service
@@ -94,3 +94,4 @@ volumes:
crowdsec-db-redis:
crowdsec-config-redis:
redis-data:
spiderfoot-data: