From eca65e44698039d663d90a8a51a6d77266c5317e Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Jacquier Date: Fri, 1 Mar 2019 11:12:08 +0100 Subject: [PATCH] Update readme Signed-off-by: Pierre-Emmanuel Jacquier --- README.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 95d24bf..4c7266f 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ start proxy server example: poxy-server --m3u-url http://iptvexample.net/iptvm3ufile.m3u \ # or local m3u file --port 8080 \ # port you want to expose your proxy --hostname proxyserver.com # hostname of your machine running this proxy + ##### UNSAFE AUTH TODO ADD REAL AUTH + --user test + --password passwordtest ``` @@ -54,14 +57,22 @@ http://poxyserver.com:8080/15/test/4 ### Without Docker Download lasted [release](https://github.com/pierre-emmanuelJ/iptv-proxy/releases) -``` -% iptv-proxy --m3u-url http://example.com/iptv.m3u --port 8080 --hostname poxyexample.com +```Bash +% iptv-proxy --m3u-url http://example.com/iptv.m3u \ + --port 8080 --hostname poxyexample.com \ + ##### UNSAFE AUTH TODO ADD REAL AUTH + --user test + --password passwordtest ``` Or -``` +```Bash % go install -% iptv-proxy --m3u-url http://example.com/iptv.m3u --port 8080 --hostname poxyexample.com +% iptv-proxy --m3u-url http://example.com/iptv.m3u \ + --port 8080 --hostname poxyexample.com \ + ##### UNSAFE AUTH TODO ADD REAL AUTH + --user test + --password passwordtest ``` ### With Docker @@ -84,6 +95,9 @@ Or PORT: 8080 # Hostname or IP to expose the IPTVs endpoints (for machine not for docker) HOSTNAME: localhost + ##### UNSAFE AUTH TODO ADD REAL AUTH + USER: test + PASSWORD: testpassword ``` #### Start @@ -92,5 +106,11 @@ Or % docker-compose up -d ``` +## TODO + +there is unsafe auth just for testing. +change with real auth with database and user management +and auth with token + **ENJOY!**