version: '3.7' services: dd-waf-apache: image: registry.dd-work.space/dd/waf-apache:${DD_BUILD:-latest} 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 - ${BUILD_WAF_ROOT_PATH}/docker/modsecurity/rules:/etc/apache2/modsecurity.d/dd-rules:rw - ${BUILD_WAF_ROOT_PATH}/docker/modsecurity/vhosts:/etc/apache2/sites-available:rw networks: - dd_net