2
0

start-streaming.sh 380 B

1234567891011121314
  1. #!/bin/bash
  2. source scripts/env.sh
  3. docker run -d --restart unless-stopped \
  4. --name $NAME_STREAMING \
  5. -h ispooge-streaming \
  6. -v $PWD/nginx-conf:/etc/nginx:ro \
  7. -v $ISPOOGE_MEDIA_PATH/hls:/tmp/http/hls:rw \
  8. -v $ISPOOGE_MEDIA_PATH:/tmp/http/media:ro \
  9. -v $PWD/app/resources/public:/tmp/http/cryogen:ro \
  10. -p $RTMP_PORT:1935 \
  11. -p $HTTP_PORT:1936 \
  12. $IMAGE_STREAMING