ansible/playbooks/tasks/app/gvm.yml
2021-12-30 09:34:45 -06:00

24 lines
596 B
YAML

# vim:ft=ansible:
- name: docker deploy gvm
docker_container:
name: gvm
image: securecompliance/gvm:latest
env:
DB_PASSWORD: "{{ secret_gvm_db_pass }}"
USERNAME: admin
PASSWORD: "{{ secret_gvm_pass }}"
TZ: America/Chicago
networks:
- name: web
aliases: [ "gvm" ]
volumes:
- /data/gvm/gvm:/var/lib/gvm
- /data/gvm/openvas-plugins:/var/lib/openvas/plugins
- /data/gvm/postgres:/opt/database
- /data/gvm/ssh:/etc/ssh
ports:
- 443:9392/tcp
- 5432:5432/tcp
- 2222:22/tcp
tags: [ docker, gvm ]