From 0ced6bdcb5621a6172937b6fe4bb5208744337c9 Mon Sep 17 00:00:00 2001 From: enxoco <34722899+enxoco@users.noreply.github.com> Date: Tue, 19 Nov 2024 01:22:01 -0500 Subject: [PATCH] Update waf url (#22) * Update waf url * Pinned docker images to latest version --------- Co-authored-by: Mike Conrad --- docker-compose.local.yml | 8 ++++---- docker-compose.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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