README updated: new openvidu-sample-secure docker demo with ngrok

pull/20/head
pabloFuente 2017-06-14 12:31:27 +02:00
parent fe11c04f69
commit dbe48b543b
1 changed files with 4 additions and 6 deletions

View File

@ -229,16 +229,14 @@ String token = session.generateToken();
## Running a secure videocall application ## Running a secure videocall application
We have implemented a very basic [demo application](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-js-java) to see the secure version of OpenVidu in action. It has a Java backend to manage the user sessions and the securization process with OpenVidu Server. We have implemented a very basic [demo application](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-js-java) to see the secure version of OpenVidu in action. It has a Java backend to manage the user sessions and the securization process with OpenVidu Server.
- Please be sure that you have docker-compose (`sudo apt-get install docker-compose`) - Please be sure that you have [docker CE installed](https://store.docker.com/search?type=edition&offering=community)
- Download the `docker-compose.yml` file and run it: - Run this Docker container
``` ```
wget -O docker-compose.yml https://raw.githubusercontent.com/OpenVidu/openvidu-docker/master/openvidu-sample-secure/docker-compose.yml docker run -p 5000:5000 -p 3000:3000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 openvidu/openvidu-sample-secure
docker-compose up
``` ```
- Wait until you see an output like `Started App in XXX seconds (JVM running for XXX)` - Wait until you see a public URL ended with `.ngrok.io`. You can connect locally in [`localhost:3000`](http://localhost:3000) or by using the ngrok public URL. You can also share this URL with anyone you want to test the app over the Internet!
- Go to [`https://localhost:5000`](https://localhost:5000) and accept the self-signed certificate to enjoy your app (use a standard window and an incognito window to test a couple of users at the same time)