Information: Minecraft Server: I started working on my old Minecraft server called Terona. Join our discord if you want :D Join

Gobiadactyl Panel configuration

Every setting in the Gobiadactyl Panel .env file, what it does and its default, including the updater, backups, templates and file transfers.

Gobiadactyl PanelChecked

On this page

Gobiadactyl Panel reads its settings from the .env file in the panel directory, /var/www/pterodactyl/.env in the standard layout. The install commands p:environment:setup, p:environment:database and p:environment:mail write most of the basic settings for you. Everything else you add by hand.

After changing .env, clear the configuration cache and restart the queue worker so both pick up the change:

bash
cd /var/www/pterodactyl
sudo -u www-data php artisan config:clear
sudo systemctl restart pteroq.service

.env holds APP_KEY, the database password and any update token. Keep a backup somewhere safe, keep it readable only by the panel's user, and never commit it.

Application#

VariableDefault in .env.exampleWhat it does
APP_ENVproductionLeave on production on a real server
APP_DEBUGfalseShows detailed errors. Never turn it on in production.
APP_KEYemptyEncryption key, made by php artisan key:generate. Keep it stable; changing or losing it makes encrypted data unreadable.
APP_URLhttp://panel.example.comThe panel's public address, including https://. The updater's health check also requests it.
APP_TIMEZONEUTCTimezone for times shown in the panel
APP_LOCALEenInterface language
APP_ENVIRONMENT_ONLYtruetrue keeps all settings in .env; false also allows the settings editor in the admin area. p:environment:setup asks about it.
HASHIDS_SALTemptySalt for short IDs, created by p:environment:setup. Keep it stable.
HASHIDS_LENGTH8Length of those IDs

Database#

VariableDefaultWhat it does
DB_CONNECTIONmysqlUsed for both MariaDB and MySQL
DB_HOST127.0.0.1Database server
DB_PORT3306Database port
DB_DATABASEpanelDatabase name
DB_USERNAMEpterodactylDatabase user
DB_PASSWORDemptyDatabase password

Cache, sessions and queue#

VariableDefaultWhat it does
CACHE_DRIVERfileredis (recommended), memcached or file
SESSION_DRIVERfileredis (recommended), memcached, database, file or cookie
QUEUE_CONNECTIONredisredis (recommended), database or sync. With sync there is no worker; the updater warns about it and offsite backups need a real worker.
REDIS_HOST127.0.0.1Redis server
REDIS_PASSWORDnullRedis password
REDIS_PORT6379Redis port
SESSION_SECURE_COOKIEnot setSet to true when the panel runs on HTTPS, so session cookies are only sent over HTTPS
TRUSTED_PROXIESnot setAddresses of a proxy or load balancer in front of the panel

Mail#

VariableDefaultWhat it does
MAIL_MAILERsmtpMail transport
MAIL_HOSTsmtp.example.comSMTP server
MAIL_PORT25SMTP port
MAIL_USERNAME, MAIL_PASSWORDemptySMTP login
MAIL_ENCRYPTIONtlsSMTP encryption
MAIL_FROM_ADDRESS[email protected]Sender address
MAIL_FROM_NAME"Pterodactyl Panel"Sender name
MAIL_EHLO_DOMAINcommented outSet it to your domain so mail servers such as Gmail do not reject your mail

Logging#

VariableDefaultWhat it does
LOG_CHANNELdailyOne log file per day in storage/logs
LOG_LEVELdebugHow much is logged
LOG_DEPRECATIONS_CHANNELnullWhere deprecation notices go

Updater#

These settings belong to Gobia Core and control the in-panel updater. No browser request can change them. See Update Gobiadactyl Panel.

VariableDefaultWhat it does
GOBIA_UPDATE_PROVIDERgithubgithub reads releases from a GitHub repository. directory installs from a local folder, for air-gapped servers and testing.
GOBIA_UPDATE_REPOSITORYan older repository name that GitHub redirects to the public oneThe only GitHub repository releases are taken from. Set it to darkzmaj/gobiadactyl-panel.
GOBIA_UPDATE_GITHUB_TOKENnot setA fine-grained token with read-only Contents access. Only needed for a private repository; the public releases need none. Never sent to the browser and removed from logs.
GOBIA_UPDATE_DIRECTORYnot setThe folder for the directory provider, laid out as <folder>/<version>/ with release.json and the package
GOBIA_UPDATE_PUBLIC_KEYthe Gobia 2.0 release keyBase64 Ed25519 public key every release must be signed with
GOBIA_UPDATE_RUNNERin-place, or release-directory when GOBIA_UPDATE_INSTALL_ROOT is setHow new code goes live
GOBIA_UPDATE_INSTALL_ROOTnot setRoot of a release-directory install, containing releases/, shared/ and the current link
GOBIA_UPDATE_HELPER/usr/local/sbin/gobia-update-helperThe root-owned helper script. Optional for in-place.
GOBIA_UPDATE_STATE_PATHstorage/updaterWhere run records, logs, downloads and database backups are kept. Must survive a release switch.
GOBIA_UPDATE_BACKUP_RETENTION3How many update backups are kept. Only the newest can be rolled back.
GOBIA_UPDATE_CHECK_TTL21600Seconds the "latest release" answer is cached. Check for updates always asks again.
GOBIA_UPDATE_HTTP_PROBEonAfter an update, request the sign-in page over HTTP as part of the health check
GOBIA_UPDATE_HEALTH_URLAPP_URLThe address that probe requests
GOBIA_UPDATE_PHP_BINARY, GOBIA_UPDATE_MYSQLDUMP, GOBIA_UPDATE_MYSQLlooked up on PATHAbsolute paths when the programs are not on the PHP user's PATH
GOBIA_UPDATE_PRERELEASEoffAlso offer pre-releases such as 2.1.0-rc.1. Leave off in production.
GOBIA_UPDATE_ALLOW_UNSIGNEDoffAccept a release without a signature. Development only; never in production.
GOBIA_UPDATE_SPAWN_QUEUE_WORKERoffStart a replacement worker after switching releases. Development only; production uses systemd.

Fixed limits that are not settings: a download may be at most 512 MiB, the unpacked release at most 1,536 MiB, with at most 200,000 entries.

Offsite backups#

Settings of the gobia-backups extension. See Backups.

VariableDefaultWhat it does
GOBIA_BACKUPS_CONCURRENCY6Backups running at once overall
GOBIA_BACKUPS_CONCURRENCY_PER_NODE2Backups running at once per node
GOBIA_BACKUPS_CONCURRENCY_PER_DESTINATION4Backups running at once per Storage Box. A Storage Box accepts ten connections per account.
GOBIA_BACKUPS_ARCHIVE_TIMEOUT21600Seconds Wings may take to build the archive
GOBIA_BACKUPS_TRANSFER_TIMEOUT21600Seconds one upload or restore may take
GOBIA_BACKUPS_STALE_AFTER900Seconds an upload may make no progress before it counts as dead
GOBIA_BACKUPS_ATTEMPTS3Attempts in total for a failed backup
GOBIA_BACKUPS_RETRY_AFTER600Seconds between attempts

Templates#

Settings of the gobia-templates extension.

VariableDefaultWhat it does
GOBIA_TEMPLATE_STORAGEstorage/app/private/templatesWhere template files are kept. It is not served by the web server.
GOBIA_TEMPLATE_MAX_FILE_BYTES1 GiBLargest single file in a template
GOBIA_TEMPLATE_MAX_TOTAL_BYTES8 GiBLargest total size of one template
GOBIA_TEMPLATE_MAX_FILES10000Most files in one template
GOBIA_SFTP_SERVICE_TOKENnot setShared secret for the template SFTP service
GOBIA_SFTP_HOST, GOBIA_SFTP_PORTnot set, 2223The SFTP address shown to administrators

Files larger than 2 MiB are not opened in the browser editor, but can still be uploaded and downloaded.

Template SFTP service#

SFTP access to a template's files is a separate Node.js process in services/template-sftp. It is optional, and it is the only part of Gobia that needs Node.js. It reads these variables:

VariableWhat it does
PANEL_URLBase address of the panel
SFTP_SERVICE_TOKENThe same value as GOBIA_SFTP_SERVICE_TOKEN
TEMPLATE_STORAGEThe panel's template folder, the same as GOBIA_TEMPLATE_STORAGE
SFTP_PORT, SFTP_BINDListen address, 2223 and 0.0.0.0 by default
SFTP_HOST_KEYPath of the Ed25519 host key, created if missing

Start it with npm ci --omit=dev && node server.js in that folder.

File transfers between servers#

Settings of the gobia-files extension, which moves files between servers through the panel.

VariableDefaultWhat it does
GOBIA_FILES_TRANSFER_MAX_FILE_BYTES2 GiBLargest single file moved
GOBIA_FILES_TRANSFER_MAX_ENTRIES2000Most files and folders one request may touch
GOBIA_FILES_TRANSFER_MAX_DEPTH24Deepest folder nesting followed
GOBIA_FILES_TRANSFER_VERIFY_HASH_BYTES256 MiBFiles up to this size are compared by SHA-256 after the move; larger ones by size only
GOBIA_FILES_TRANSFER_TIMEOUT900Seconds one request to a node may take
GOBIA_FILES_TRANSFER_CONCURRENT_PER_USER2Transfers one person may run at once. Each holds a PHP worker and temporary disk space.

Source: Gobiadactyl Panel .env.example, app/Console/Commands/Environment/AppSettingsCommand.php, config/session.php, config/trustedproxy.php and the config files of gobia-core, gobia-backups, gobia-templates and gobia-files, plus services/template-sftp/README.md, at tag gobia-v2.0.0, checked 2 November 2026.

Your likes

Only what this browser did. Your data on this device