add configuration file to docker images

This commit is contained in:
aler9 2020-11-01 20:36:50 +01:00
parent c6c79783a8
commit 14990f8a9e
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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.