For whom: Administrator, SRE. Required rights: root (or sudo) on the server of the editing panel
/etc/axottle/axottle.env.<значение> — frame your data. Never copy the examples of secrets from the documentation.
The main variable panels
AXOTTLE_SECRET_KEY
Bootstrap Remnawave
These variables are recorded by the installer when installed with the--with-remnawave flag. They control the one-time automatic binding of the Remnawave panel during the initial setup.
Auxiliary variables of backups and updates
CLI variables
These variables are read by the CLIaxottle every time a command is run – no restart service is needed.
Variables of the update script
Read theupgrade.sh script every time an update is launched.
Node agent variables
The agent (axottle-agent) is a separate binary with its prefix AXE_*. Its variables (AXE_URL, AXE_TOKEN, AXE_STATE_PATH, AXE_LOG_LEVEL) are written into the /etc/axottle-agent/agent.env with the installation script that generates the panel, and manual editing is not usually required. The change requires a restart of the agent service on the node.
Safety recommendations
- Set a strong
AXOTTLE_SECRET_KEYbefore the panel is commissioned and never use the default value in production. - Specify
AXOTTLE_DB_URLexplicitly, with a separate database user and a strong password. - Restrict access to
/etc/axottle/axottle.env(installer sets640rights, owner ofroot:axottle- do not weaken them) and to the panel server as a whole. - Do not enable
AXOTTLE_DEV_MODEin production; enableAXOTTLE_RW_BOOTSTRAPonly during initial setup.
Related pages
Panel configuration
Where does the env file live and how to change settings safely?
CLI axottle
Flags of
--api and --token, diagnostic teams.