Environment Variables
Other options that can be changed in the docker run command:
Environment variables | Description |
| This is for creating a persistent volume so you don't lose your data when you update the container. You can modify the host side (gvm-data) but it needs to mount to /data in the container. |
| Obviously you can name it whatever you\'d like. The rest of the documentation will assume that you\'ve named it gvm like we did in our example. |
| This is the port designation for the WebUI. |
| This is the port designation for the Supervisor WebUI -> Don't make it public to the internet! |
| This is required if you would like to run the distrubted scanner setup. This allows the remote scanner to connect back to the host over SSH. For security reasons, shell access is not allowed. This is only for the remote sensor to communicate with the GVM. |
| This opens up access for database management tools to connect to the postgresql database and do advanced reporting, create graphs, etc. |
You can use any ports you\'d like on the host side (left side) but the container side must use the ports specified.
These settings can be set in the docker command line with the --env parameter, or edited in the docker-compose file.
Name | Description | Default Value |
| Default admin username | admin |
| Default admin password | admin |
| Default no password file for Docker Swarm Secrets - if set PASSWORD is ignored | |
| This sets the postgres DB password | random |
| Default no password file for Docker Swarm Secrets - if set DB_PASSWORD is ignored | |
| This needs to be set to true if you are using the remote scanner | false |
| Timezone name for a list look here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | UTC |
| The IP address or hostname to send emails through. | 127.17.0.1 |
| The TCP port for the RELAYHOST | 25 |
| Synchronize definitions automatically on start up | true |
| Use HTTPS for the web interface. Use HTTP if false | true |
| Use the Path to your SSL-Certificate | none |
| Use the Path to your SSL-Certificate Private Key | none |
| Install deps for PDF Reports (texlive) on firststart | 0 |
Last updated