From 14990f8a9e5afb770aa22118b3708f3cb0d9c01e Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 1 Nov 2020 20:36:50 +0100 Subject: [PATCH] add configuration file to docker images --- Makefile | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f6ed67e..fa2b2272 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,8 @@ RUN export CGO_ENABLED=0 $${OPTS} \ && go build -ldflags "-X main.Version=$$VERSION" -o /rtsp-simple-server FROM scratch -COPY --from=build /rtsp-simple-server /rtsp-simple-server +COPY --from=build /rtsp-simple-server / +COPY --from=build /s/rtsp-simple-server.yml / ENTRYPOINT [ "/rtsp-simple-server" ] endef export DOCKERFILE_DOCKERHUB diff --git a/README.md b/README.md index c15711c6..efad99c6 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ The configuration can be changed dinamically when the server is running (hot rel ### RTSP proxy mode -`rtsp-simple-server` is also an RTSP proxy, that is usually deployed in one of these scenarios: +_rtsp-simple-server_ is also a RTSP proxy, that is usually deployed in one of these scenarios: * when there are multiple users that are receiving a stream and the bandwidth is limited; the proxy is used to receive the stream once. Users can then connect to the proxy instead of the original source. * when there's a NAT / firewall between a stream and the users; the proxy is installed on the NAT and makes the stream available to the outside world.