digitaldemocratic/dd-waf/docker-compose-parts/modsecurity.yml

15 lines
388 B
YAML

version: '3.7'
services:
dd-waf-apache:
build:
context: ${BUILD_WAF_ROOT_PATH}/docker/modsecurity
dockerfile: Dockerfile
target: production
container_name: dd-waf-apache
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- ${SRC_FOLDER}/modsecurity/rules:/etc/apache2/modsecurity.d/dd-rules:rw
networks:
- dd_net