feat: add zap service configuration for dynamic application security testing
haven't gotten this working yet though
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
zap:
|
||||
image: zaproxy/zap-stable:latest
|
||||
container_name: zap
|
||||
command: >
|
||||
zap.sh -daemon -host 0.0.0.0 -port 8090
|
||||
-config api.key=REPLACE_WITH_STRONG_KEY
|
||||
-config api.addrs.addr.name=^192\.168\.86\.\d{1,3}$
|
||||
-config api.addrs.addr.regex=true
|
||||
stdin_open: true
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8090:8090"
|
||||
networks:
|
||||
homelab:
|
||||
aliases:
|
||||
- cybertest # how to add multiple aliases
|
||||
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
|
||||
homelab: # Sub-section, any network name or 'default' to edit default one created
|
||||
external: true # This option causes compose to join the above network instead of making a _default one
|
||||
Reference in New Issue
Block a user