Josh Bicking 3f611bc1e3 add port selection | 8 gadi atpakaļ | |
---|---|---|
sendd @ 20f5ba1315 | 8 gadi atpakaļ | |
.gitmodules | 8 gadi atpakaļ | |
Dockerfile | 8 gadi atpakaļ | |
README.md | 8 gadi atpakaļ | |
start.sh | 8 gadi atpakaļ |
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.