Infer from README.md query

Hi!

On docker-wireguard, it mentions in the README.md:

To display the QR codes of active peers again, you can use the following command and list the peer numbers as arguments: docker exec -it wireguard /app/show-peer 1 4 5 or docker exec -it wireguard /app/show-peer myPC myPhone myTablet (Keep in mind that the QR codes are also stored as PNGs in the config folder).

You can infer from that that you can call the peer configs certain names. Is this done via just renaming the folder/config file or can you actually setup names in the docker-compose file so that it auto generates the files/folders with the names (myPC, myPhone, myTablet, etc)?

.

They’re set in the PEERS var

I know, you can set a number, but can you specify names instead, or do you need to manually rename the directory/files?

yes, you can: GitHub - linuxserver/docker-wireguard

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.