Override configuration file settings on the command line
You can use the -o, --override command line option to override configuration file settings with key/value pairs. The key is the JSON path of the field to be overwritten.
For example, in the following configuration file:
{
    ...,
    "jdbc" : {
        "username" : "sa",
        "password" : "",
        "url" : "jdbc:h2:/path/to/db1;MODE=Oracle;TRACE_LEVEL_SYSTEM_OUT=0",
        "autoCreateTables" : true,
        "fetchSize" : 0
    },
    "peer" : [
        {
            "url" : "http://127.0.0.1:9001"
        }
    ]
}
The command:
tessera --configfile configfile.json -o jdbc.username=username-override --override peer[1].url=http://peer-override:9001
Starts Tessera with the following effective configuration:
{
    ...,
    "jdbc" : {
        "username" : "username-override",
        "password" : "",
        "url" : "jdbc:h2:/path/to/db1;MODE=Oracle;TRACE_LEVEL_SYSTEM_OUT=0",
        "autoCreateTables" : true,
        "fetchSize" : 0
    },
    "peer" : [
        {
            "url" : "http://127.0.0.1:9001"
        },
        {
            "url" : "http://peer-override:9001"
        }
    ]
}