Update docs

This commit is contained in:
slch 2022-03-29 23:20:57 +04:00
parent 2c8252ff6e
commit b8f91eed5f
No known key found for this signature in database
GPG key ID: 41F39A9F62B8AD06
2 changed files with 3 additions and 0 deletions

View file

@ -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. 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: In order to sent the wireguard configuration to clients via email, set the following environment variables:
- using SendGrid API - using SendGrid API

View file

@ -15,6 +15,7 @@ services:
- SESSION_SECRET - SESSION_SECRET
- WGUI_USERNAME=alpha - WGUI_USERNAME=alpha
- WGUI_PASSWORD=this-unusual-password - WGUI_PASSWORD=this-unusual-password
- WG_CONF_TEMPLATE
logging: logging:
driver: json-file driver: json-file
options: options: