# WolfPanel Agent configuration (/etc/wolfpanel/agent.conf) # This file is read by the agent AND used as a systemd EnvironmentFile, so it # must stay in simple KEY=VALUE form (no shell expansion, no quotes needed). # Central API base URL. WOLFPANEL_API_URL=https://api.wolfpanel.net # Release channel: stable | beta | edge WOLFPANEL_RELEASE_CHANNEL=stable # Base URL the installer and the running agent both derive the manifest # (//latest.json) and download (//) URLs # from. Must match install.sh's RELEASE_BASE default -- if you change this, # change install.sh's default too, or every self-update check will 404. WOLFPANEL_RELEASE_BASE=https://downloads.wolfpanel.net/agent # Backend-assigned server id. Populated automatically on successful # registration. Leave empty before that. WOLFPANEL_SERVER_ID= # Heartbeat interval in seconds. WOLFPANEL_HEARTBEAT_INTERVAL=60 # NOTE: the running build version is read from the installed VERSION file, NOT # from this file. Do not add WOLFPANEL_AGENT_VERSION here — it would go stale on # upgrade. Runtime status / last error / registration-pending state are kept in # /var/lib/wolfpanel/state.json (NOT here), so this file stays a clean, static # systemd EnvironmentFile. # --- Development overrides -------------------------------------------------- # Point at a local Central API: # WOLFPANEL_API_URL=http://localhost:8000 # # Use the built-in mock API (no Central API required): # WOLFPANEL_API_MOCK=1 # # Browser-pairing connect URL (no live default; set when the panel is ready): # WOLFPANEL_CONNECT_URL=https://panel.example.com/connect [mysql] user = root password = socket = /var/run/mysqld/mysqld.sock