Env

Env #

The values of all environment variables have a lower priority than flags.

Avoid typing the same flag values repeatedly every time by setting environment variables.

NAMEFLAG
TDL_NS-n/--ns
TDL_PROXY--proxy
TDL_STORAGE--storage
TDL_DEBUG--debug
TDL_SIZE-s/--size
TDL_THREADS-t/--threads
TDL_LIMIT-l/--limit
TDL_POOL--pool
TDL_NTP--ntp
TDL_RECONNECT_TIMEOUT--reconnect-timeout
TDL_TEMPLATEdl --template
  • TDL_STORAGE format in env is different from that in flags: {"type": "bolt", "path": "/path/to/data-dir"} (JSON object).