cspj-application/docker/modsecurity/docker-compose.yml

20 lines
461 B
YAML
Raw Normal View History

2025-01-14 21:08:26 +08:00
services:
modsecurity:
image: owasp/modsecurity-crs:apache
container_name: modsecurity
restart: always
ports:
2025-01-16 03:18:48 +08:00
- "3331:3331"
2025-01-14 21:08:26 +08:00
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
2025-01-16 03:18:48 +08:00
BACKEND: "http://host.docker.internal:3333" # TODO: CHANGE THIS TO SURICATA'S PORT COS INLINE
2025-01-14 21:08:26 +08:00
SERVER_NAME: "localhost"
2025-01-16 03:18:48 +08:00
PORT: "3331"
2025-01-14 21:08:26 +08:00
networks:
- modsec-network
networks:
modsec-network:
driver: bridge