Josh Bicking 3f611bc1e3 add port selection | %!s(int64=8) %!d(string=hai) anos | |
---|---|---|
sendd @ 20f5ba1315 | %!s(int64=8) %!d(string=hai) anos | |
.gitmodules | %!s(int64=8) %!d(string=hai) anos | |
Dockerfile | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
start.sh | %!s(int64=8) %!d(string=hai) anos |
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.