Josh Bicking 3f611bc1e3 add port selection | il y a 8 ans | |
---|---|---|
sendd @ 20f5ba1315 | il y a 8 ans | |
.gitmodules | il y a 8 ans | |
Dockerfile | il y a 8 ans | |
README.md | il y a 8 ans | |
start.sh | il y a 8 ans |
sendd-docker ships sendd in one easily runnable package.
Building:
git clone https://github.com/Josh1147582/sendd-docker
cd sendd-docker
docker build -t sendd-docker .
Running:
docker run \
-p 3000:3000 -e "HTTPPORT=3000" \
-p 9000:9000 -e "PEERJSPORT=9000" \
--name=sendd \
-e "HOST=`curl ipv4.icanhazip.com`" \
-d \
sendd-docker
Connect to the server at HTTPPORT (default port 3000). PEERJSPORT (port 9000) must also be open for the peer server to communicate with clients.