Josh Bicking 3f611bc1e3 add port selection | há 8 anos atrás | |
---|---|---|
sendd @ 20f5ba1315 | há 8 anos atrás | |
.gitmodules | há 8 anos atrás | |
Dockerfile | há 8 anos atrás | |
README.md | há 8 anos atrás | |
start.sh | há 8 anos atrás |
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.