Initial commit
This commit is contained in:
31
templates/docker-compose.yml.j2
Normal file
31
templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,31 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- /opt/dvwa-docker/nginx:/etc/nginx/templates
|
||||
- /opt/dvwa-docker/certs/cert.crt:/etc/ssl/cert.crt
|
||||
- /opt/dvwa-docker/certs/key.priv:/etc/ssl/private/key.priv
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
depends_on:
|
||||
- dvwa
|
||||
|
||||
modsec:
|
||||
image: owasp/modsecurity-crs:apache
|
||||
environment:
|
||||
- BACKEND=http://dvwa
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- dvwa
|
||||
|
||||
dvwa:
|
||||
image: sagikazarmark/dvwa:latest
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: dvwa-net
|
||||
Reference in New Issue
Block a user