Skip to content

mregio-tic/peerjs-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%