From a694c90c453e96099839d8fb9002e74b9a546a7e Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Thu, 23 Mar 2023 20:12:41 +0800 Subject: [PATCH] docs: port environment variable description --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abb486d..18278e5 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ After the command is run, *Alltube* will work on `tcp/24488`, of course, this po + `CONVERT=ON` :Enabled audio conversion. ++ `PORT=...` :Specify the service port, default in `80` + Here is an example: ```bash @@ -28,7 +30,8 @@ docker run -d --restart always --name alltube \ --env CONVERT=ON \ --env STREAM=ON \ --env REMUX=ON \ - -p 24488:80 dnomd343/alltube + --env PORT=24488 \ + --network host dnomd343/alltube ``` Next, configure your web server reverse proxy to `localhost:24488`, let's take *Nginx* as an example here.