add env 'DOCKER_VOLUME_STORAGE' for volume path customization

This commit is contained in:
L4RM4ND
2023-02-25 14:09:52 +01:00
parent 1d2ab5133b
commit ce70d88893
70 changed files with 167 additions and 168 deletions

View File

@@ -3,9 +3,9 @@ services:
gvm:
image: securecompliance/gvm
volumes:
- /mnt/docker-volumes/greenbone/database:/opt/database
- /mnt/docker-volumes/greenbone/gvm:/var/lib/gvm
- /mnt/docker-volumes/greenbone/plugins:/var/lib/openvas/plugins
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/database:/opt/database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/gvm:/var/lib/gvm
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/greenbone/plugins:/var/lib/openvas/plugins
environment:
- USERNAME="admin"
- PASSWORD="admin"