Configuration File Location
Wings uses a YAML configuration file to manage all settings. The default location for this file is:--config flag:
File Structure
The configuration file is structured in YAML format with several main sections:Loading the Configuration
Wings automatically loads the configuration file on startup. The configuration is read from disk and stored in memory for the duration of the Wings process.Initial Configuration
If Wings cannot find a configuration file at the default location (or specified location), it will exit with an error. You must have a valid configuration file before starting Wings. To generate a configuration file:- Access your Pterodactyl Panel
- Navigate to the node you want to configure
- Copy the auto-generated configuration
- Save it to
/etc/pterodactyl/config.yml
Environment Variable Expansion
Wings supports environment variable expansion in configuration values:File References
You can reference external files for sensitive values using thefile:// prefix:
LoadCredential or LoadCredentialEncrypted options.
Reloading Configuration
Wings does not support hot-reloading of configuration changes. To apply configuration changes:- Edit the configuration file
- Restart Wings:
Configuration Persistence
Wings may write configuration changes to disk automatically in certain cases:- When the Panel sends configuration updates (unless
ignore_panel_config_updatesis set totrue) - When system-detected values are updated (e.g., user UID/GID)
0600 permissions (read/write for owner only) for security.
Debug Mode
You can enable debug mode in two ways:-
Configuration file:
-
Command-line flag:
When using the
--debug flag, the debug setting will not be persisted to the configuration file on disk.Configuration Sections
The configuration file is divided into several major sections:api- API server and web interface settingssystem- System directories, user, and operational settingsdocker- Docker container and network configurationremote- Panel connection URLremote_query- Settings for API requests to the Panelthrottles- Console output throttling configurationallowed_mounts- Host paths allowed for server mountsallowed_origins- Additional CORS origins
