1version: '3' 2services: 3 zap: 4 build: 5 context: . 6 dockerfile: ${DOCKERFILE_NAME} 7 ports: 8 - 8090:8090 9 command: zap.sh -daemon -host 0.0.0.0 -port 8090 -config api.disablekey=true -config database.recoverylog=false -config connection.timeoutInSecs=120 -config api.addrs.addr.name=.* -config api.addrs.addr.regex=true 10 #logging: 11 # driver: "none" 12 13 test: 14 build: 15 context: . 16 dockerfile: Dockerfile-zapcli 17 command: zap-cli --zap-url http://zap --port 8090 status -t 60 18