mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-02 20:53:02 +00:00
add configuration file to docker images
This commit is contained in:
parent
c6c79783a8
commit
14990f8a9e
3
Makefile
3
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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user