Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PeerJS Server for docker

Build docker image for PeerJS Server

Usage(on the docker host)

On the docker host,

$ sudo docker pull iwashi/peerjs
$ sudo docker run -d -p 9000:9000 iwashi/peerjs

Usage(PeerJS client)

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.

About

Build docker image of PeerJS Server

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages