Input & output
This section explains the node resources that the algorithm container has access to.
File mounts
The algorithm has access to several file mounts:
The paths to these files and directories are stored in the environment variables, which we will explain now.
Environment variables
INPUT_FILE
path to the input file. The input file contains the user defined input for the algorithms.
OUTPUT_FILE
Path to the output file. The contents of the output file are send back to the vantage6-server when the algorithm container exits.
TOKEN_FILE
Path to the token file. The token file contains a JWT token which can be used to access the vantage6-server. This way the algorithm container is able to post new tasks and retrieve results.
TEMPORARY_FOLDER
Path to the temporary folder. This folder can be used to store intermediate results. These intermediate results are shared between all containers that have the same run_id
. Algorithm containers which are created from an algorithm container themselves share the same run_id
.
HOST
Contains the URL to the vantage6-server.
PORT
Contains the port to which the vantage6-server listens. Is used in combination with HOST
and API_PATH
.
API_PATH
*_DATABASE_URI
Last updated
Was this helpful?