2022-10-25 13:48:10 +02:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
dd-waf-apache:
|
2022-11-16 13:07:49 +01:00
|
|
|
image: registry.dd-work.space/dd/waf-apache:${DD_BUILD:-latest}
|
2022-10-25 13:48:10 +02:00
|
|
|
build:
|
2022-10-25 17:40:12 +02:00
|
|
|
context: ${BUILD_WAF_ROOT_PATH}/docker/modsecurity
|
2022-10-25 13:48:10 +02:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
target: production
|
|
|
|
container_name: dd-waf-apache
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2022-11-18 17:27:14 +01:00
|
|
|
- ${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
|
2022-10-25 13:48:10 +02:00
|
|
|
networks:
|
2022-11-10 00:28:20 +01:00
|
|
|
- dd_net
|