Skip to content

ConfigFile

Luis edited this page Jan 15, 2019 · 15 revisions

VDMS Configuration File

VDMS uses a configuration file (written in JSON) that can be specified when starting the server by using the -cfg flag:

./vdms -cfg config-vdms.json

If no configuration file is specified, VDMS will try to open the defaul (config-vdms.json), and will fail to initiate if the file is not found.

Parameters

All the parameters in the configuration file are optional, as VDMS has default values for all of them.

Param Explanation Default
port TCP port for incoming connections 55555
max_simultaneous_clients Number of max simultaneous connections open 500
db_root_path Path to the root folder where all filed/objects will be stored db
images_path Path to folder where images (all formats) will be stored images (db/images)
blobs_path Path to folder where blobs will be stored blobs (db/blobs)
descriptors_path Path to folder where descriptors will be stored descriptors (db/descriptors)

Config File Example

// VDMS Config File
// This is the run-time config file
// Sets database paths and other parameters
{
    // Network
    "port": 55555,
    "max_simultaneous_clients": 100,

    // Database paths
    "db_root_path": "db",

    "more-info": "github.com/IntelLabs/vdms"
}
Clone this wiki locally