mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 04:32:19 +00:00
5 UDP ports are not enough
This commit is contained in:
parent
8eea7d6e4f
commit
59c47ca3e0
@ -12,6 +12,6 @@ FROM alpine:3.12
|
|||||||
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/community/ ffmpeg libsrt
|
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/community/ ffmpeg libsrt
|
||||||
COPY --from=build_base /code/out/ghostream /app/ghostream
|
COPY --from=build_base /code/out/ghostream /app/ghostream
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# 2112 for monitoring, 8023 for Telnet, 8080 for Web, 9710 for SRT, 10000-10005 (UDP) for WebRTC
|
# 2112 for monitoring, 8023 for Telnet, 8080 for Web, 9710 for SRT, 10000-11000 (UDP) for WebRTC
|
||||||
EXPOSE 2112 8023 8080 9710/udp 10000-10005/udp
|
EXPOSE 2112 8023 8080 9710/udp 10000-11000/udp
|
||||||
CMD ["/app/ghostream"]
|
CMD ["/app/ghostream"]
|
||||||
|
@ -30,7 +30,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9710:9710/udp
|
- 9710:9710/udp
|
||||||
- 10000-10005:10000-10005/udp
|
- 10000-11000:10000-11000/udp
|
||||||
volumes:
|
volumes:
|
||||||
- ./ghostream_data:/etc/ghostream:ro
|
- ./ghostream_data:/etc/ghostream:ro
|
||||||
labels:
|
labels:
|
||||||
|
@ -170,7 +170,7 @@ webrtc:
|
|||||||
# This range must be opened in your firewall.
|
# This range must be opened in your firewall.
|
||||||
#
|
#
|
||||||
#minPortUDP: 10000
|
#minPortUDP: 10000
|
||||||
#maxPortUDP: 10005
|
#maxPortUDP: 11000
|
||||||
|
|
||||||
# STUN servers, you should host your own Coturn instance
|
# STUN servers, you should host your own Coturn instance
|
||||||
#
|
#
|
||||||
|
@ -78,7 +78,7 @@ func New() *Config {
|
|||||||
},
|
},
|
||||||
WebRTC: webrtc.Options{
|
WebRTC: webrtc.Options{
|
||||||
Enabled: true,
|
Enabled: true,
|
||||||
MaxPortUDP: 10005,
|
MaxPortUDP: 11000,
|
||||||
MinPortUDP: 10000,
|
MinPortUDP: 10000,
|
||||||
STUNServers: []string{"stun:stun.l.google.com:19302"},
|
STUNServers: []string{"stun:stun.l.google.com:19302"},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user