Josh Bicking 3f611bc1e3 add port selection | 8 роки тому | |
---|---|---|
sendd @ 20f5ba1315 | 8 роки тому | |
.gitmodules | 8 роки тому | |
Dockerfile | 8 роки тому | |
README.md | 8 роки тому | |
start.sh | 8 роки тому |
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.