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