Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var path = require('path');
- var Config = {};
- Config.isMasterServer = true;
- Config.host = "localhost";
- Config.port = 8080;
- Config.urlPrefix = '/';
- Config.dbCollectionPrefix = '';
- Config.databaseUrl = "mongodb://10.0.3.158/spikaenterprise";
- Config.supportUserId = "56ec126ca4718ef424641692";
- Config.redis = {
- host: "10.0.3.158",
- port: 6379
- }
- Config.AESPassword = "cl0v3r-S+uD10-h4X0r1";
- Config.publicPath = path.resolve(__dirname, "../../..", "public");
- Config.uploadPath = path.resolve(__dirname, "../../..", "public/uploads");
- Config.socketNameSpace = '/spikaenterprise';
- Config.defaultAvatar = "/img/noname.png";
- Config.defaultAvatarGroup = "/img/noname-group.png";
- Config.hashSalt = "8zgqvU6LaziThJI1uz3PevYd";
- Config.username = "admin";
- Config.password = "1234";
- Config.apnsCertificates = {
- dev : {
- key : '/srv/ServerMessenger/push_certs/pushkey_dev.pem',
- cert : '/srv/ServerMessenger/push_certs/pushcert.pem'
- },
- adhoc : {
- key : '/srv/ServerMessenger/push_certs/pushkey.pem',
- cert : '/srv/ServerMessenger/push_certs/pushcert.pem'
- },
- store : {
- key : null,
- cert : null
- },
- voip: {
- key: '/srv/ServerMessenger/push_certs/voip_key.pem',
- cert: '/srv/ServerMessenger/push_certs/voip_cert.pem',
- production: true
- }
- };
- Config.gcmAPIKey = "AIzaSyA79SboSonLp--G7Cu155vfhEqJ9SlMYiA";
- Config.fcmServerKey = "AAAAy29Tcxw:APA91bFUDC7fawLD7FL9EPsliLXmVdZF8PrvMZ_8Hs3h3lSu96YyB-ncGjKuimAqsq02QebTvbQD7e1JQSk5jPq5onz9SMuBLmdzm2dPqPKjDgpPoXZ7yviJ-5sb8UFqWwGDqLewohth";
- Config.webRTCConfig = {
- "isDev": true,
- "socketNameSpace": "signaling",
- "server": {
- "port": Config.port,
- "secure": false,
- "key": null,
- "cert": null,
- "password": null
- },
- "peerConnectionConfig" : {
- "iceTransports" : "relay"
- },
- "rooms": {
- "maxClients": 0
- },
- /*
- "stunservers": [
- {
- "url": "stun:turnstun.spika.chat:3478"
- }
- ],
- "turnservers": [
- {
- "urls": ["turn:turnstun.spika.chat"],
- "secret": "turnserversharedsecret",
- "expiry": 86400,
- "user": 'spikaturn',
- "password": 'dka98n'
- }
- ]
- */
- "stunservers": [
- {
- "url": "stun:numb.viagenie.ca:3478"
- }
- ],
- "turnservers": [
- {
- "urls": ["turn:numb.viagenie.ca"],
- "secret": "turnserversharedsecret",
- "expiry": 86400,
- "user": 'ken.yasue@clover-studio.com',
- "password": 'yumiko'
- }
- ]
- }
- Config.email = {
- service: "",
- username: "",
- password: "",
- from: "no-reply@clover-studio.com"
- };
- Config.smtp = {
- host:'',
- port:25,
- username:'',
- password:''
- }
- Config.protocol = "http://";
- module["exports"] = Config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement