mirror of
https://github.com/cupcakearmy/livestream.git
synced 2024-12-30 11:56:31 +00:00
docker
This commit is contained in:
parent
e695743ab1
commit
2cb57f8700
7
Dockerfile
Executable file
7
Dockerfile
Executable 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
12
docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
server:
|
||||
build: ./
|
||||
ports:
|
||||
- 80:80
|
||||
- 1935:1935
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./srv:/srv
|
||||
|
Loading…
Reference in New Issue
Block a user