diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 7f8c9ff..ce9a5c1 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -2,7 +2,7 @@ version: "3.7" services: traefik: - image: traefik + image: traefik:3.0.1 ports: - "8000:80" - "8080:8080" @@ -18,11 +18,11 @@ services: labels: - traefik.enable=true - traefik.http.services.traefik.loadbalancer.server.port=8080 - - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.modSecurityUrl=http://waf:80 + - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.modSecurityUrl=http://waf:8080 - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.maxBodySize=10485760 waf: - image: owasp/modsecurity-crs:apache + image: owasp/modsecurity-crs:4.2.0-apache-202405220605 environment: - PARANOIA=1 - ANOMALY_INBOUND=10 @@ -37,4 +37,4 @@ services: labels: - traefik.enable=true - traefik.http.routers.website.rule=PathPrefix(`/website`) - - traefik.http.routers.website.middlewares=waf@docker \ No newline at end of file + - traefik.http.routers.website.middlewares=waf@docker diff --git a/docker-compose.yml b/docker-compose.yml index e5eb97a..05b98b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.7" services: traefik: - image: traefik + image: traefik:3.0.1 ports: - "8000:80" - "8080:8080" @@ -18,11 +18,11 @@ services: labels: - traefik.enable=true - traefik.http.services.traefik.loadbalancer.server.port=8080 - - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.modSecurityUrl=http://waf:80 + - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.modSecurityUrl=http://waf:8080 - traefik.http.middlewares.waf.plugin.traefik-modsecurity-plugin.maxBodySize=10485760 waf: - image: owasp/modsecurity-crs:apache + image: owasp/modsecurity-crs:4.2.0-apache-202405220605 environment: - PARANOIA=1 - ANOMALY_INBOUND=10 @@ -37,4 +37,4 @@ services: labels: - traefik.enable=true - traefik.http.routers.website.rule=PathPrefix(`/website`) - - traefik.http.routers.website.middlewares=waf@docker \ No newline at end of file + - traefik.http.routers.website.middlewares=waf@docker