Browse Source

Update Readme and docker-compose

pull/834/head
Sergei Birukov 1 year ago
parent
commit
081e3eef75
  1. 1
      README.md
  2. 1
      docker-compose.yml

1
README.md

@ -98,6 +98,7 @@ These options can be configured by setting environment variables using `-e KEY="
| `WG_PRE_DOWN` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value. |
| `WG_POST_DOWN` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value. |
| `LANG` | `en` | `de` | Web UI language (Supports: en, ru, tr, no, pl, fr, de, ca, es). |
| `UI_DETAILED_STATS` | `false` | `true` | Enable detailed RX / TX client stats in Web UI |
> If you change `WG_PORT`, make sure to also change the exposed port.

1
docker-compose.yml

@ -24,6 +24,7 @@ services:
# - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt
# - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt
# - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt
# - UI_DETAILED_STATS=true
image: ghcr.io/wg-easy/wg-easy
container_name: wg-easy

Loading…
Cancel
Save