Compose-Examples/examples/greenbone/docker-compose.yml

28 lines
940 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
services:
2023-02-15 21:45:31 +00:00
gvm:
image: securecompliance/gvm
container_name: gvm
restart: unless-stopped
2023-02-15 21:45:31 +00:00
volumes:
- ${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
2023-02-15 21:45:31 +00:00
environment:
- USERNAME="admin"
- PASSWORD="admin"
- RELAYHOST="smtp.gmail.com"
- SMTPPORT=465
- AUTO_SYNC=true
- HTTPS=true
- TZ="Europe/Berlin"
- SSHD=false
- DB_PASSWORD="none"
ports:
- "9392:9392" # Web interface
#- "5432:5432" # Access PostgreSQL database from external tools
#- "2222:22" # SSH for remote sensors
expose:
- 9392
- 5432
- 22