SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.36k stars 161 forks source link

Question: Why /opt/vectr/user is not using NAMED VOLUMES in docker-compose.yml (v8.0.2)? #151

Closed ferozbasir closed 2 years ago

ferozbasir commented 2 years ago

Hi Team,

I've just realized under vectr-tomcat container setting in docker-compose.yml (v8.0.2), /opt/vectr/user is not using NAMED VOLUMES rather it sets to use BIND-MOUNT instead. Any reason behind it as I thought we are moving away from BIND-MOUNT mechanism?

vectr-tomcat: image: securityriskadvisors/vectr_tomcat:8.0.2 networks: vectr_bridge: aliases:

Thanks.

thebleucheese commented 2 years ago

You can change that to use volumes but users specifying an existing ssl cert from the container host should use the bind mount so the container sees it on startup. We haven’t adjusted the user-specified cert code path that runs on container startup to work with volume mounts yet so we had to leave that one.

ferozbasir commented 2 years ago

Well noted.

Thank you.