Setting input file storage path
Table of contents
What is its function
This option allows you to specify the location to store input files on your server or in your Docker image.
This function is controlled by 1 config property.
- inputPath - The location to store input files
How to set this value
Create the following Java properties file on the server running your app server (if you don’t already have one) {user.home}/.idr/buildvu-microservice/buildvu-microservice.properties
In this file add (or update if the key already exists) the following key and value pair.
- inputPath - This must be a string representing a path on the server or image running the microservice.
e.g inputPath=~/.idr/buildvu-microservice/input/
Default Value
When no values are provided or invalid values are provided the following default values are used.
- inputPath=~/.idr/buildvu-microservice/input/
How to use with Docker
In order to provide your own properties file to the Docker image you need to mount the properties file to the image. This is done by adding the following to your docker run command.
--mount "source=/path/to/properties/directory/buildvu-microservice.properties,target=/root/.idr/buildvu-microservice/buildvu-microservice.properties,type=bind"
Please note, if you need external access to the input directory you will need to mount a directory at the location set by this option by adding the following to your docker run command (unless the directory is already included in a previous mount).
--mount "source=/path/to/input/directory,target=/input/path/specified/in/config,type=bind"