From b8f91eed5f4616ec25218a9e2266ed651edd7c25 Mon Sep 17 00:00:00 2001 From: slch Date: Tue, 29 Mar 2022 23:20:57 +0400 Subject: [PATCH] Update docs --- README.md | 2 ++ docker-compose.yaml | 1 + 2 files changed, 3 insertions(+) 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: