Updates README and docker-compose

This commit is contained in:
Giorgos Komninos 2021-08-15 17:04:37 +03:00
parent 360259cd74
commit 7e6d170125
2 changed files with 10 additions and 2 deletions

View file

@ -21,6 +21,13 @@ You can take a look at this example of [docker-compose.yml](https://github.com/n
```
docker-compose up
```
Note:
There is a Status option that needs docker to be able to access the network of the host in order to read the
wireguard interface stats. See the `cap_add` and `network_mode` options on the docker-compose.yaml
### Environment Variables

View file

@ -5,13 +5,14 @@ services:
build: .
#image: ngoduykhanh/wireguard-ui:latest
container_name: wgui
cap_add:
- NET_ADMIN
network_mode: host
environment:
- SENDGRID_API_KEY
- EMAIL_FROM
- EMAIL_FROM_NAME
- SESSION_SECRET
ports:
- 5000:5000
logging:
driver: json-file
options: