Configuration

The NullBore client reads configuration from ~/.nullbore/config.toml.

Config file

# ~/.nullbore/config.toml

server = "https://tunnel.nullbore.com"
api_key = "nbk_your_api_key_here"

Setting values

nullbore config set server https://tunnel.nullbore.com
nullbore config set api-key nbk_your_api_key_here

Environment variables

Environment variables override config file values:

VariableDescription
NULLBORE_SERVERServer URL
NULLBORE_API_KEYAPI key for authentication

CLI flags

CLI flags override both config file and environment variables:

nullbore open --port 3000 --server https://my-server.com --api-key nbk_xxx

Precedence

CLI flags > Environment variables > Config file > Defaults

Defaults

SettingDefault
serverhttps://tunnel.nullbore.com
ttl1h
idlefalse