Update readme. Add travis ci.
This commit is contained in:
parent
eff52a00de
commit
1818bc2b83
|
@ -0,0 +1,15 @@
|
|||
sudo: required
|
||||
|
||||
language: bash
|
||||
services: docker
|
||||
|
||||
env:
|
||||
- DOCKER_IMAGE=nginx-rtmp
|
||||
|
||||
script:
|
||||
- docker build -t ${DOCKER_IMAGE}
|
||||
|
||||
after_script:
|
||||
- docker images
|
||||
- docker run -d -p 1935:1935 -p 8080:80 -t ${DOCKER_IMAGE}
|
||||
- docker ps -a
|
|
@ -67,7 +67,7 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \
|
|||
--disable-debug \
|
||||
&& make && make install && make distclean
|
||||
|
||||
RUN cd /opt/ && tar cvzf /tmp/nginx.tar.gz nginx
|
||||
# RUN cd /opt/ && tar cvzf /tmp/nginx.tar.gz nginx
|
||||
|
||||
# Cleanup.
|
||||
RUN rm -rf /var/cache/* /tmp/*
|
||||
|
|
|
@ -7,6 +7,10 @@ default settings for HLS live streaming. Built on Alpine Linux.
|
|||
* ffmpeg 3.0.2 (compiled from source)
|
||||
* Default HLS settings (See: [nginx.conf](nginx.conf))
|
||||
|
||||
[![Docker Stars](https://img.shields.io/docker/stars/alfg/nginx-rtmp.svg)]()
|
||||
[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/nginx-rtmp.svg)]()
|
||||
[![Docker Automated buil](https://img.shields.io/docker/automated/alfg/nginx-rtmp.svg)]()
|
||||
|
||||
## Usage
|
||||
|
||||
### Server
|
||||
|
|
Loading…
Reference in New Issue