Configuring the Node
In this section you will learn how to configure the node. This can be done either through the command line or by creating a YAML configuration file yourself.
At this moment the docker image which contains the node needs to be pulled manually: docker pull harbor.distributedlearning.ai/infrastructure/node
It is assumed that Docker and the Vantage Python package have been successfully installed. If not, have a look at previous steps described in Installation of Docker and Install Vantage.
Using the Wizard
The most straight forward way of creating a new server configuration is using the command vnode new which allows you to configure the most basic settings.

By default the node configuration file is stored at user level, which isolates this configuration from other users. In case you want this configuration to be available for all users, simply add the --system flag.
Using a Custom YAML File
The configuration wizard outputs a YAML file which can be loaded into Joey. It is also possible to create this file yourself, to see Configuration File Structure or an example on our github page. This file can be stored (and referred to) at any location at the machine, although it recommended to use either the Joey system or user folder. These folders are different per operating system.
Operating System
System-folder
User-folder
Windows
C:\ProgramData\joey\node
C:\Users\<user>\AppData\Local\vantage\node
MacOS
Linux
/home/<user>/.config/vantage/node/
Starting the Node
Once a configuration is created you can start this instance by using vnode start and select the configuration you wish to start. Or in the case you already know the name of the configuration you can use vnode start --name [config_name] . It is also possible to use a configuration file that is in a non-default location by using vnode start --config /path/to/config . All other options will be overwritten when using this option.
Node configurations are assumed to be in the user-folder. However if you have a configuration stored in the system-folder you should add the flag system: vnode start --system .
Node Commands
In the section above we used thevnode command several times. All sub-commands can be found by simply running vnode , which will display the following list:
Command
Description
vnode new
Create a new configuration file
vnode list
List all available configurations (both system/user)
vnode files
List file locations of the node instance
vnode start
Start a node configuration
Configuration File Structure
Each node instance (configuration) can have multiple environments. If you do not want to specify any environment you should only specify the application key. In the case you do want to use environments you can specify this in environments which allows up to four environments: dev, test,acc, and prod . It should have the following structure:
Last updated
Was this helpful?