update
parent
487360e088
commit
07c7f6b631
|
@ -0,0 +1,5 @@
|
||||||
|
build:
|
||||||
|
docker build -t stress -t hub.kumoly.io/tools/stress .
|
||||||
|
|
||||||
|
push:
|
||||||
|
docker push hub.kumoly.io/tools/stress:latest
|
10
README.md
10
README.md
|
@ -5,20 +5,18 @@
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker build -t rtmp-stress -t tools.evan-soft.com/rtmp-stress .
|
docker build -t stress -t hub.kumoly.io/tools/stress .
|
||||||
docker push tools.evan-soft.com/rtmp-stress
|
docker push hub.kumoly.io/tools/stress
|
||||||
```
|
```
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Pull image if didn't build
|
# Pull image if didn't build
|
||||||
docker pull tools.evan-soft.com/rtmp-stress
|
docker pull hub.kumoly.io/tools/stress
|
||||||
|
|
||||||
# start
|
# start
|
||||||
docker run -d --name stress rtmp-stress sb_rtmp_load_fast -c 50 -r rtmp://kumoly.io/mosu/live
|
docker run -d --name stress hub.kumoly.io/tools/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
|
|
||||||
|
|
||||||
|
|
||||||
# see the logs
|
# see the logs
|
||||||
|
|
Loading…
Reference in New Issue