Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i use this demo #8

Open
xujun738 opened this issue Apr 23, 2019 · 3 comments
Open

How can i use this demo #8

xujun738 opened this issue Apr 23, 2019 · 3 comments

Comments

@xujun738
Copy link

I run the follow commond to startup licode with docker
docker run -d --name licode -p 30000-30050:30000-30050/udp -p 3000:3000 -p 3001:3001 -p 3004:3004 -p 8080:8080 -e "SSL=TRUE" -e "MIN_PORT=30000" -e "MAX_PORT=30050" -e "PUBLIC_IP=YOURSERVERIP" rofl256/ezlicode

How can i config the config.js

thanks anyway.

@xujun738
Copy link
Author

here is licode-demo's config.js

var config = {};

config.nuve_host = 'https://MYSERVERIP:3004';
config.service = {};
config.service.id ='5cbd778de26072b99de3cd54';
config.service.key = '2106';

config.demo_host = 'localhost'; // Without "http", just the host.

config.http_port = 80;
config.https = true;
config.https_port = 443;
config.ca_certs = undefined;

//config.plain = true;

module.exports = config;

@xujun738
Copy link
Author

It is licode server's licode_config.js
config.nuve = {};
config.nuve.dataBaseURL = "localhost/nuvedb";
config.nuve.superserviceID = '5cbd778de26072b99de3cd54';
config.nuve.superserviceKey = '2106';
config.nuve.testErizoController = 'localhost:8080';
config.nuve.cloudHandlerPolicy = 'default_policy.js';

config.erizoController.publicIP = 'MYSERVERIP';
config.erizoAgent.publicIP = 'MYSERVERIP';
config.erizo.minport = '30000';
config.erizo.maxport = '30050';
config.erizoController.ssl = true;
config.erizoController.listen_ssl = true;

@xujun738
Copy link
Author

1556004630432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant