mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Update docs
This commit is contained in:
parent
2c8252ff6e
commit
b8f91eed5f
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue