Skip to content

Environment variables

Environment overrides map in lib/config.mjs:

VariableEffect
THIRDFLARE_PORTServer port (aliases: CLOUDFLARE_ONE_GUI_PORT, PORT)
THIRDFLARE_BINDBind address (alias: CLOUDFLARE_ONE_GUI_BIND)
THIRDFLARE_WARP_CLIwarp-cli path (alias: WARP_CLI)
THIRDFLARE_WEBUI1/true enable UI; 0/false disable
THIRDFLARE_WEBUI_ALLOW_REMOTEAllow remote UI access
THIRDFLARE_LOCALEUI locale
THIRDFLARE_NOTIFICATIONSEnable/disable notifications
THIRDFLARE_UPDATE_CHANNELUpdate channel
THIRDFLARE_UPDATE_SOURCEowner/repo update source
THIRDFLARE_UPDATE_CHECK0/false skip startup check
THIRDFLARE_CONFIGExplicit config file path

Development

bash
export THIRDFLARE_WEBUI=1
npm run dev

systemd drop-in

ini
[Service]
Environment=THIRDFLARE_WEBUI=0
Environment=THIRDFLARE_PORT=4173

Config file paths

Resolved by configPaths():

  • System: /etc/thirdflare-one/config.json
  • User: ~/.config/thirdflare-one/config.json

Override with THIRDFLARE_CONFIG for testing.

Unofficial client — not affiliated with Cloudflare.