1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 16:12:19 +00:00

Port 8023 is better, it is non protected. Users are free to bind another port

This commit is contained in:
Yohann D'ANELLO 2020-10-13 11:38:22 +02:00
parent 51d38f6fec
commit 3b8c149e38
3 changed files with 4 additions and 4 deletions

View File

@ -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
# 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC # 9710 for SRT, 8080 for Web, 2112 for monitoring, 10000-10005 (UDP) for WebRTC and 23 for telnet
EXPOSE 23 9710/udp 8080 2112 10000-10005/udp EXPOSE 9710/udp 8080 2112 10000-10005/udp 8023
CMD ["/app/ghostream"] CMD ["/app/ghostream"]

View File

@ -75,7 +75,7 @@ telnet:
# You must enable it to use it. # You must enable it to use it.
#enable: false #enable: false
#listenAddress: :23 #listenAddress: :8023
# Size is in characters. It is recommended to keep a 16x9 format. # Size is in characters. It is recommended to keep a 16x9 format.
#width: 80 #width: 80

View File

@ -60,7 +60,7 @@ func New() *Config {
}, },
Telnet: telnet.Options{ Telnet: telnet.Options{
Enabled: false, Enabled: false,
ListenAddress: ":23", ListenAddress: ":8023",
Width: 80, Width: 80,
Height: 45, Height: 45,
Delay: 50, Delay: 50,