This commit is contained in:
nicco 2018-06-27 20:43:09 +02:00
parent e695743ab1
commit 2cb57f8700
2 changed files with 19 additions and 0 deletions

7
Dockerfile Executable file
View File

@ -0,0 +1,7 @@
FROM alpine:3.7
RUN apk add --no-cache openssl ca-certificates wget unzip nginx nginx-mod-rtmp ffmpeg
VOLUME [ "/stream" ]
CMD nginx -g 'daemon off;'

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
version: '3'
services:
server:
build: ./
ports:
- 80:80
- 1935:1935
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./srv:/srv