Build docker image for PeerJS Server
On the docker host,
$ sudo docker pull iwashi/peerjs
$ sudo docker run -d -p 9000:9000 iwashi/peerjs
On the client side, HTML/JS file needs to be hosted on the web server and needs to contain Peer initialization code such as :
var peer = new Peer({
host: 'IP address of your docker container',
port: 9000,
key: 'peerjs',
debug: 3
});
see PeerJS Document to check detail.
Content type
Image
Digest
sha256:28fe94fc3…
Size
137 MB
Last updated
almost 11 years ago
docker pull iwashi/peerjs