Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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.

Docker Pull Command
Owner
iwashi
Source Repository