From 32844bbe3e58d849fbbe26038ecb6ca51d7da31b Mon Sep 17 00:00:00 2001 From: marcobaobao Date: Fri, 23 Jun 2023 09:28:38 +0200 Subject: [PATCH] updated readme --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 081d267..35d1d8c 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,17 @@ docker build -t yt-dlp-webui . docker run -d -p 3033:3033 -v :/downloads yt-dlp-webui ``` +If you opt to add RPC authentication... +```sh +docker run -d \ + -p 3033:3033 \ + -e JWT_SECRET randomsecret + -v /path/to/downloads:/downloads \ + marcobaobao/yt-dlp-webui \ + --auth \ + --secret your_rpc_secret +``` + ## [Prebuilt binaries](https://github.com/marcopeocchi/yt-dlp-web-ui/releases) installation ```sh @@ -134,6 +145,10 @@ The config file **will overwrite what have been passed as cli argument**. port: 8989 downloadPath: /home/ren/archive downloaderPath: /usr/local/bin/yt-dlp + +# Optional settings +require_auth: true +rpc_secret: my_random_secret ``` ### Systemd integration