mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Update Caddy with Layer4 plugin
This commit is contained in:
4
Makefile
Normal file
4
Makefile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
build-caddy:
|
||||||
|
@echo "Building Caddy FULL image"
|
||||||
|
docker build -t ghcr.io/elagala/server-initializer/caddy-waf-crowdsec:latest -f images/caddy_full/Dockerfile .
|
||||||
|
docker push ghcr.io/elagala/server-initializer/caddy-waf-crowdsec:latest
|
||||||
@@ -4,7 +4,8 @@ FROM caddy:builder AS builder
|
|||||||
# Install xcaddy and build Caddy with plugins
|
# Install xcaddy and build Caddy with plugins
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with github.com/corazawaf/coraza-caddy/v2@v2.0.0 \
|
--with github.com/corazawaf/coraza-caddy/v2@v2.0.0 \
|
||||||
--with github.com/hslatman/caddy-crowdsec-bouncer/http@v0.8.1
|
--with github.com/hslatman/caddy-crowdsec-bouncer/http@v0.8.1 \
|
||||||
|
--with github.com/mholt/caddy-l4
|
||||||
|
|
||||||
# Stage to download OWASP CRS
|
# Stage to download OWASP CRS
|
||||||
FROM alpine:latest AS crs
|
FROM alpine:latest AS crs
|
||||||
|
|||||||
Reference in New Issue
Block a user