* Allow wgpw to prompt for a password through stdin
If the user does not pass the password as a parameter, they are prompted
for it through stdin.
The password is not echoed back, just like any other command-line log-in
prompt (ie. sudo).
* Fix lint errors in wgpw
Co-authored-by: Bernd Storath <999999bst@gmail.com>
* fixup: issue templates due to labels reorg
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Fix port in Readme
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Add Prometheus port in Service
Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
* Revert "Add Prometheus port in Service"
This reverts commit a7376abcf1.
* Revert "Fix port in Readme"
This reverts commit 9760bde2f2.
* Revert "Separate port for prometheus metrics"
This reverts commit 58f5b6806e.
* Revert "Separate port for prometheus metrics"
This reverts commit 6d246ea4bd.
* Add Prometheus metrics with Basic Auth
[Feat]: Simple Stats API #1285
* Disable by default
[Feat]: Simple Stats API #1285
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.
For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`
The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```
Signed-off-by: cyicz123 <cyicz123@outlook.com>
For users using docker-compose.yml, please note that you should not wrap the generated hash password in single quotes. Instead, replace each `$` symbol with two `$$` symbols.
For example, for the password 'foobar123', use the following command to generate the hash:
`docker run ghcr.io/wg-easy/wg-easy wgpw foobar123`
The resulting hash should be used in docker-compose.yml like this:
``` yaml
- PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG
```
Signed-off-by: cyicz123 <cyicz123@outlook.com>