2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2016-02-24 13:48:14 +08:00
parent b0724f785e
commit 4333ce1239
7 changed files with 242 additions and 0 deletions

12
rtmp/client/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
#
# Dockerfile for rtmp-client-arm
#
FROM vimagick/alpine-arm
MAINTAINER kev <noreply@datageek.info>
RUN set -xe \
&& apk add -U ffmpeg \
&& rm -rf /var/cache/apk/*
CMD ffmpeg -f video4linux2 -r 24 -i /dev/video0 -f flv $RTMP_URI

View File

@@ -0,0 +1,7 @@
client:
image: vimagick/rtmp-client-arm
devices:
- /dev/video0:/dev/video0
environment:
- RTMP_URI=rtmp://boss.datageek.info/live/webcam
restart: always