diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7fef4c2 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +build: + docker build -t stress -t hub.kumoly.io/tools/stress . + +push: + docker push hub.kumoly.io/tools/stress:latest \ No newline at end of file diff --git a/README.md b/README.md index 1a43703..e92a19b 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,18 @@ ## Build ```shell -docker build -t rtmp-stress -t tools.evan-soft.com/rtmp-stress . -docker push tools.evan-soft.com/rtmp-stress +docker build -t stress -t hub.kumoly.io/tools/stress . +docker push hub.kumoly.io/tools/stress ``` ## Use ```shell # Pull image if didn't build -docker pull tools.evan-soft.com/rtmp-stress +docker pull hub.kumoly.io/tools/stress # start -docker run -d --name stress rtmp-stress sb_rtmp_load_fast -c 50 -r rtmp://kumoly.io/mosu/live -# or -docker run -d --name stress tools.evan-soft.com/rtmp-stress sb_rtmp_load_fast -c 50 -r rtmp://192.168.51.219/live/live +docker run -d --name stress hub.kumoly.io/tools/stress sb_rtmp_load_fast -c 50 -r rtmp://kumoly.io/mosu/live # see the logs