Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeller-vuzix authored Aug 23, 2023
1 parent 2d77e2c commit 3135357
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3135357

Please sign in to comment.