Document updates: docker-compose.yml / How_to_generate_an_bcrypt_hash.md (#1529)

* Update How_to_generate_an_bcrypt_hash.md

inclusion of single quotes for password with docker run command

addition of "--rm" parameter to docker run command as to cleanup the wg-easy container created with the password hash generation command

* Update docker-compose.yml

addition of missing # before the comment on PASSWORD_HASH line
This commit is contained in:
shalafi99
2024-11-24 11:49:01 -03:00
committed by GitHub
parent 6c752941f3
commit ddc7394e1b
2 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ services:
- WG_HOST=raspberrypi.local
# Optional:
# - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash)
# - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG # (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash)
# - PORT=51821
# - WG_PORT=51820
# - WG_CONFIG_PORT=92820