Skip to content

Environment variables

ASP.NET Core configuration: in the environment, : becomes __ (Panel:PublicUrl → Panel__PublicUrl). The compose file sets them from .env (Install the panel).

Variable Meaning
ConnectionStrings__Panel the PostgreSQL connection
Panel__PublicUrl the address agents and emails use, e.g. https://panel.example.com; otherwise set in Admin → Settings
Panel__AgentImage the agent image in the Add node command; otherwise set in Admin → Settings
Panel__DocsUrl the documentation website the help links (?) point to; otherwise set in Admin → Settings; default: the public documentation (https://gamepanel.audifire.ch)
Panel__MasterKeyFile the master key file (base64, 32 bytes). Without one the panel warns at start; the hosting profile requires it.
Panel__SetupToken the setup token, for automated installs; otherwise a random one is printed to the log until the panel is set up
Panel__TrustedProxyNetworks__0, __1… networks of reverse proxies and load balancers, for client addresses and HTTPS
Panel__MigrateOnStart apply database migrations at start (default true)
Panel__CatalogueDirectory a folder the game catalogue is read from (<id>.yaml files); takes precedence over the URL
Panel__CatalogueUrl the address of a published game catalogue; overrides Admin → Settings (default: the public catalogue, https://catalogue.gamepanel.audifire.ch)
Steam__SteamCmdImage the SteamCMD image for jobs (default steamcmd/steamcmd:latest)
Auth__Providers__0__Name, __Type, __DisplayName, __Authority, __ClientId, __ClientSecret, __Scopes__0 sign-in providers (Email and sign-in)

Values from the environment win over the admin area’s settings, and are shown there read-only. The database connection and the master key are environment-only, because the panel needs them before it can read its settings.

Variable Default Meaning
AGENT_PANEL_URL (required) the panel’s address
AGENT_ENROLLMENT_TOKEN the one-time token; only until enrolled, and after New enrollment token
AGENT_DATA_DIR /var/lib/panel-agent server files, backups, console logs, the node’s identity; mounted at the same path inside and outside
AGENT_SFTP_PORT 2022 the SFTP port, the same inside and outside the container; off turns SFTP off
AGENT_CONTAINER_UID, AGENT_CONTAINER_GID 988 the user game containers run as (Pterodactyl images expect 988)
AGENT_SANDBOX_DNS 1.1.1.1,9.9.9.9 name servers for gVisor containers (Hardening)
DOCKER_HOST unix:///var/run/docker.sock the Docker daemon