mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-21 20:12:33 +03:00
Updates README and docker-compose
This commit is contained in:
parent
360259cd74
commit
7e6d170125
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue