Add push endpoint auth configuration to readme

This commit is contained in:
Jarno Rankinen 2024-07-01 10:20:26 +03:00
parent 216b77e0ef
commit b9be8b529f
1 changed files with 7 additions and 3 deletions

View File

@ -39,12 +39,16 @@ Container:
```shell ```shell
podman run -it --rm -v hydroxide-push:/data ghcr.io/0ranki/hydroxide-push setup-ntfy podman run -it --rm -v hydroxide-push:/data ghcr.io/0ranki/hydroxide-push setup-ntfy
``` ```
You'll be asked for the base URL of the push server, and the topic. The push endpoint configuration can be changed while the daemon is running. You'll be asked for the base URL of the push server, topic then username and password for HTTP basic authentication.
The push endpoint configuration can be changed while the daemon is running.
Username and password are stored in `notify.json`, the password is only Base64-encoded. You should create a dedicated user that
has write-only access to the topic for the daemon.
**Push topic username and password are cleared each time setup-ntfy is run, they need to be entered manually every time.**
The currently configured values are shown inside braces. Leave input blank to use the current values. The currently configured values are shown inside braces. Leave input blank to use the current values.
>**NOTE:** Authentication for the push endpoint is not yet supported.
### Start the service ### Start the service
Binary: Binary: