This commit is contained in:
Emile Nijssen 2021-05-23 14:38:33 +02:00
parent e5eda35965
commit e89e364b36
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
```bash ```bash
$ docker run \ $ docker run \
--name wg-easy \ --name wg-easy \
--env WG_HOST=192.168.1.2 \
--mount type=bind,source="$(pwd)",target=/etc/wireguard \ --mount type=bind,source="$(pwd)",target=/etc/wireguard \
--cap-add=NET_ADMIN \ --cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \ --cap-add=SYS_MODULE \

View File

@ -46,6 +46,7 @@ module.exports = class WireGuard {
}, },
clients: {}, clients: {},
}; };
debug('Configuration generated.');
} }
await this.__saveConfig(config); await this.__saveConfig(config);