diff --git a/README.md b/README.md index b3f213c..0940706 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ wireguard interface stats. See the `cap_add` and `network_mode` options on the d Set the `SESSION_SECRET` environment variable to a random value. +To use custom `wg.conf` template set the `WG_CONF_TEMPLATE` environment variable to a path to such file. Make sure `wireguard-ui` will be able to work with it - use [default template](templates/wg.conf) for reference. + In order to sent the wireguard configuration to clients via email, set the following environment variables: - using SendGrid API diff --git a/docker-compose.yaml b/docker-compose.yaml index 814a671..f5be7b2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,6 +15,7 @@ services: - SESSION_SECRET - WGUI_USERNAME=alpha - WGUI_PASSWORD=this-unusual-password + - WG_CONF_TEMPLATE logging: driver: json-file options: