Signaling server for WebRTC part of Virtual Y. Created to serve Virtual Y simple peer library integration.
- Node.js 14
- Clone this repository.
- Go to the project directory.
- Run
npm install
- Configure SSL certificate with LetsEncrypt.
- Copy .env.example to .env and fill it with your data.
- Run your server with: node server.js
- Clone this repository.
- Go to the project directory.
- Copy .env.example to .env and fill it with your data.
- Sign certificate with LetsEncrypt by run script
bash sign-certificate.sh
- Run
docker-compose up --build -d
Once installed, you can test the server to ensure it's properly responding:
Server: signals.example.com
WebSocket Port: 8091
- Go to this (or any) [WebSocket Tester](https://www.piesocket.com/websocket-tester]
- Enter your server's web socket URL with a test
meetingId
:wss://signals.example.com:8091/?meetingId=7348347
- Click connect and observe
Connection Established
if everything is working. - Send any message via the tester.
- SSH to the server:
ssh admin@signals.example.com
- Run the logger:
docker logs virtual_y_signaling_server_app_1
and make sure you see your message.