From 0055b739179443f1d73a80b4d46dd7c04332c7bf Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 13 Oct 2020 11:26:50 +0200 Subject: [PATCH] Expose port 23 for telnet inputs --- Dockerfile | 2 +- docs/ghostream.example.yml | 2 +- internal/config/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a4affa..77a8a37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,5 @@ RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/community/ COPY --from=build_base /code/out/ghostream /app/ghostream WORKDIR /app # 9710 for SRT, 8080 for Web, 2112 for monitoring and 10000-10005 (UDP) for WebRTC -EXPOSE 9710/udp 8080 2112 10000-10005/udp +EXPOSE 23 9710/udp 8080 2112 10000-10005/udp CMD ["/app/ghostream"] diff --git a/docs/ghostream.example.yml b/docs/ghostream.example.yml index 3b7d628..6ad859d 100644 --- a/docs/ghostream.example.yml +++ b/docs/ghostream.example.yml @@ -75,7 +75,7 @@ telnet: # You must enable it to use it. #enable: false - #listenAddress: :4242 + #listenAddress: :23 # Size is in characters. It is recommended to keep a 16x9 format. #width: 80 diff --git a/internal/config/config.go b/internal/config/config.go index eab8b79..5a59f8f 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -60,7 +60,7 @@ func New() *Config { }, Telnet: telnet.Options{ Enabled: false, - ListenAddress: ":4242", + ListenAddress: ":23", Width: 80, Height: 45, Delay: 50,