Overview
WireGuard Easy can be configured using environment variables. These variables control various aspects of the application, from the web UI settings to IPv6 support.Core Environment Variables
These are the essential environment variables set by default in the Docker container.TCP port for the Web UI.This is the port where the WireGuard Easy web interface will be accessible.Example:
IP address the web UI binds to.By default, the web UI listens on all network interfaces. You can restrict this to
localhost or a specific IP address.Example:Allow access over HTTP instead of HTTPS.Example:
Disable IPv6 support.When set to Example:
true, this disables:- Creation of default IPv6 firewall rules
- IPv6 address assignment to the WireGuard interface
- IPv6 address assignment to clients
Even when IPv6 is disabled, you may still see an IPv6 address in the Web UI, but it won’t be used by clients.This option may be removed in future releases as IPv6 adoption increases.
Enable unattended setup mode.When set to
true, allows WireGuard Easy to be configured automatically on first startup using additional INIT_* environment variables.See the Unattended Setup documentation for more details.Example:Debugging
Control debug logging output.This variable accepts a comma-separated list of debug namespaces. The default enables logging for:To disable all debug logging:
Server- Web server operationsWireGuard- WireGuard interface operationsDatabase- Database queries and operationsCMD- Command execution
Deprecated Variables
These environment variables are deprecated and only maintained for backward compatibility with migration from older versions.Deprecated. Only used during migration from older versions.
Deprecated. Only used during migration from older versions.
Docker Compose Example
Here’s a complete example showing common environment variable usage:Next Steps
Unattended Setup
Configure WireGuard Easy automatically without user interaction
Experimental Features
Enable experimental features like AmneziaWG support