|
|
|
@ -20,8 +20,9 @@ The config file format is `yaml` and an example is provided [below](#the-config-
|
|
|
|
|
Here's what you can configure:
|
|
|
|
|
|
|
|
|
|
| Environment Variable | CLI Flag | Config File Path | Required | Default (docker) | Description |
|
|
|
|
|
| -------------------------- | ------------------------- | ---------------------- | -------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
| `WG_CONFIG` | `--config` | `loglevel` | | `info` | Global log level |
|
|
|
|
|
| -------------------------- | -------------------------- | ---------------------- | -------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
|
|
|
| `WG_CONFIG` | `--config` | | | | The path to a wg-access-server config.yaml file |
|
|
|
|
|
| `WG_LOG_LEVEL` | `--log-level` | `logLevel` | | `info` | The global log level |
|
|
|
|
|
| `WG_ADMIN_USERNAME` | `--admin-username` | `adminUsername` | | `admin` | The admin account username |
|
|
|
|
|
| `WG_ADMIN_PASSWORD` | `--admin-password` | `adminPassword` | Yes | | The admin account password |
|
|
|
|
|
| `WG_PORT` | `--port` | `port` | | `8000` | The port the web ui will listen on (http) |
|
|
|
|
|