VorticPanel

Reference

Controller settings

The controller reads its settings from the environment, usually /etc/panel/controller.env through the systemd unit. Each one with a flag below can also be given on the command line, which wins over the environment.

The installer writes PANEL_PUBLIC_URL, PANEL_FORMER_URLS, PANEL_LISTEN, PANEL_DATA_DIR (/var/lib/panel), PANEL_UI_DIR, PANEL_AGENT_DIR, PANEL_TRUSTED_PROXIES and PANEL_SELF_UPDATE, and sets them again on every upgrade. Other lines you add to controller.env are kept. After changing it, systemctl restart panel.

Variable Flag Default What it does
PANEL_PUBLIC_URL --public-url none (required) The address people use, e.g. https://panel.example.com. The address only, no path. Used for email links, the node install command, secure cookies, refusing other sites, the console’s WebSocket address and passkeys.
PANEL_FORMER_URLS --former-urls none Comma-separated addresses the panel had before, e.g. http://203.0.113.4. Nodes still set up for one are told to switch to PANEL_PUBLIC_URL. The installer sets it when the panel moves, and --forget-old-addresses clears it. See Moving to a domain.
PANEL_LISTEN --listen 127.0.0.1:8080 Host and port to listen on. Put a TLS proxy in front.
PANEL_DATA_DIR --data-dir ./data Where panel.db and secret.key live
PANEL_UI_DIR --ui-dir ./dist The built panel
PANEL_AGENT_DIR --agent-dir ./dist-agent The built node agent, handed to new nodes
PANEL_IMAGES_DIR --images-dir <data dir>/images OS images the controller serves to its own nodes at /images/<file>, such as a Windows template built on a node. Only nodes can download them.
PANEL_TRUSTED_PROXIES --trusted-proxies loopback Comma-separated addresses or ranges whose X-Forwarded-For is believed. loopback means 127.0.0.1 and ::1. The installer always keeps loopback, for Caddy, and adds what --trusted-proxies gives.
PANEL_SECRET_KEY <data dir>/secret.key, made on first start Base64 key that encrypts saved credentials, backup keys and the panel’s own key, which its nodes trust
PANEL_SELF_UPDATE off 1 when the installer has set up the panel-update service, so staff with Update the panel can install new versions from Updates. The installer sets it.
PANEL_STOP_WAIT --stop-wait 120 Seconds a stop or restart waits for running jobs to finish
PANEL_LOG_REQUESTS --log-requests off 1 logs every request. Tokens in links are left out.
PANEL_PDNS_URL --pdns-url none PowerDNS’s API, e.g. http://127.0.0.1:8081, to serve customers’ zones and reverse DNS. You can instead connect PowerDNS in the panel, at Network → Reverse DNS → PowerDNS; when these variables are set, they win and the panel page shows them read-only.
PANEL_PDNS_KEY --pdns-key none Its API key (api-key in pdns.conf). Required with PANEL_PDNS_URL.
PANEL_PDNS_SERVER --pdns-server localhost PowerDNS’s server ID

Settings errors

The controller refuses to start when a setting is wrong, and says why:

Message Fix
PANEL_LISTEN has to end in a port, like 127.0.0.1:8080 Add the port
PANEL_PUBLIC_URL is the address only, like https://panel.example.com Remove any path
The panel won't start without PANEL_PUBLIC_URL Run the installer again, or add PANEL_PUBLIC_URL=https://panel.example.com to controller.env
PANEL_PDNS_URL is set, so PANEL_PDNS_KEY has to be too Add the key from pdns.conf
PANEL_PDNS_URL is PowerDNS's API address, like http://127.0.0.1:8081 Give the full address, starting http:// or https://
The panel won't start: LD_PRELOAD is set Remove LD_PRELOAD from controller.env or the environment
The panel won't start: LD_AUDIT is set Remove LD_AUDIT from controller.env or the environment
The panel won't start: NODE_OPTIONS loads other code (--require, --import or --loader) Remove those options from NODE_OPTIONS
The panel won't start: NODE_OPTIONS opens a debugger (--inspect) Remove --inspect from NODE_OPTIONS

Node agent

The agent on each node reads:

Variable Default What it does
PANEL_AGENT_INSECURE off 1 lets enroll use a plain http:// controller address (one on the same machine works without it). The node keeps using plain HTTP with that controller afterwards. For labs only.
PANEL_AGENT_ETC /etc/panel-agent Where its credential (agent.json) and the panel’s key it trusts (controller.pub) are kept
PANEL_AGENT_ROOT /var/lib/panel-agent Where its images and state are kept

Everything else

Branding, email, sign-in policy, customer features and limits are set in the panel, under Platform settings. Regions have their own page, Fleet → Regions.

Every word has to appear. ↑ ↓ to move, Enter to open.