Update readme

This commit is contained in:
Ubuntu
2020-09-11 20:48:13 +00:00
parent dbe67a89cc
commit 8be36dca80
+1 -1
View File
@@ -189,7 +189,7 @@ Provided your DNS is properly configured on the device you're using, and you're
## FAQ
### [How do you add client configurations?
### How do you add client configurations?
If the environment variable `PEERS` is set to a number, the container will run in server mode and the necessary server and peer/client confs will be generated. The peer/client config qr codes will be output in the docker log. They will also be saved in text and png format under /config/peerX.
Variables `SERVERURL`, `SERVERPORT`, `INTERNAL_SUBNET` and `PEERDNS` are optional variables used for server mode. Any changes to these environment variables will trigger regeneration of server and peer confs. Peer/client confs will be recreated with existing private/public keys. Delete the peer folders for the keys to be recreated along with the confs.