Fixes security issue & Adds support to sent configuration via email (#83)

This commit is contained in:
Georgios Komninos 2021-08-08 20:55:59 +03:00 committed by GitHub
parent 7edcd1b80c
commit 1711530dda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 335 additions and 76 deletions

View file

@ -21,6 +21,18 @@ You can take a look at this example of [docker-compose.yml](https://github.com/n
```
docker-compose up
```
### Environment Variables
Set the `SESSION_SECRET` environment variable to a random value.
In order to sent the wireguard configuration to clients via email (using sendgrid api) set the following environment variables
```
SENDGRID_API_KEY: Your sendgrid api key
EMAIL_FROM: the email address you registered on sendgrid
EMAIL_FROM_NAME: the sender's email address
```
### Using binary file