diff --git a/Dockerfile b/Dockerfile index 8e6d409fe..a10b103f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ FROM golang:1.17.5-alpine3.15 # Build arguments. # # Override on the docker command line with -# --build-arg USE_TSL_SOCKETS=false +# --build-arg USE_TLS_SOCKETS=false # --build-arg ENABLE_HOST_CHECK=false # -ARG USE_TSL_SOCKETS=true +ARG USE_TLS_SOCKETS=true ARG ENABLE_HOST_CHECK=true @@ -46,7 +46,7 @@ RUN ln -s `pwd`/apprtc/src/collider/collidermain $GOPATH/src \ && go install collidermain # Add Collider executable to the start.sh bash script. -RUN echo -e "$GOPATH/bin/collidermain -port=8089 -tls=$USE_TSL_SOCKETS -room-server=http://localhost &\n" >> /go/start.sh +RUN echo -e "$GOPATH/bin/collidermain -port=8089 -tls=$USE_TLS_SOCKETS -room-server=http://localhost &\n" >> /go/start.sh ENV STUNNEL_VERSION 5.60 @@ -82,7 +82,7 @@ CMD /go/start.sh ## Instructions (Tested on Debian 11 only): # - Download the Dockerfile from the AppRTC repo and put it in a folder, e.g. 'apprtc' # - Build the Dockerfile into an image: 'sudo docker build apprtc/ --tag apprtc:latest' -# If you want to disable TLS (not recommended) add '--build-arg USE_TSL_SOCKETS=false' to that command. +# If you want to disable TLS (not recommended) add '--build-arg USE_TLS_SOCKETS=false' to that command. # If you want to allow connection from any remote client, add '--build-arg ENABLE_HOST_CHECK=false'. # - Run: 'sudo docker run -p 443:443 -p 8080:8080 -p 8089:8089 --rm -ti apprtc:latest' # The container will now run in interactive mode and output logging. If you do not want this, omit the '-ti' argument.