aboutsummaryrefslogtreecommitdiffstats
path: root/signaling-server/config.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--signaling-server/config.json23
-rw-r--r--signaling-server/config.json.anon23
-rw-r--r--signaling-server/config.json.default24
3 files changed, 70 insertions, 0 deletions
diff --git a/signaling-server/config.json b/signaling-server/config.json
new file mode 100644
index 0000000..770a5a1
--- /dev/null
+++ b/signaling-server/config.json
@@ -0,0 +1,23 @@
+{
+ /* The ID of the node instance */
+ "nodeId" : 1,
+
+ /* The port to listen on */
+ "port" : 4500, /* 443, 4000 */
+
+ /* Allow anonymous connections */
+ "anonymous" : true
+
+ /* Redis configuration
+ "redis" : {
+ "host" : "localhost",
+ "port" : 6379
+ } */
+
+ /* SSL configuration
+ "ssl" : {
+ "enabled" : true,
+ "key" : "D:\\dev\\projects\\Sourcey\\shared\\ssl\\symple.key",
+ "cert" : "D:\\dev\\projects\\Sourcey\\shared\\ssl\\symple.crt"
+ }*/
+}
diff --git a/signaling-server/config.json.anon b/signaling-server/config.json.anon
new file mode 100644
index 0000000..138cf23
--- /dev/null
+++ b/signaling-server/config.json.anon
@@ -0,0 +1,23 @@
+{
+ /* The ID of the node instance */
+ "nodeId" : 1,
+
+ /* The port to listen on */
+ "port" : 4500, /* 443, 4000 */
+
+ /* Allow anonymous connections */
+ "anonymous" : true
+
+ /* Redis configuration
+ "redis" : {
+ "host" : "localhost",
+ "port" : 6379
+ }, */
+
+ /* SSL configuration
+ "ssl" : {
+ "enabled" : true,
+ "key" : "D:\\dev\\projects\\Sourcey\\shared\\ssl\\symple.key",
+ "cert" : "D:\\dev\\projects\\Sourcey\\shared\\ssl\\symple.crt"
+ }*/
+} \ No newline at end of file
diff --git a/signaling-server/config.json.default b/signaling-server/config.json.default
new file mode 100644
index 0000000..4d9b5b2
--- /dev/null
+++ b/signaling-server/config.json.default
@@ -0,0 +1,24 @@
+{
+ /* The ID of the node instance */
+ "nodeId" : 1,
+
+ /* The port to listen on */
+ "port" : 4500,
+
+ /* Allow anonymous connections */
+ "anonymous" : false,
+
+ /* Redis configuration (required if anonymous == false) */
+ "redis" : {
+ "host" : "127.0.0.1",
+ "port" : 6379,
+ "password" : ""
+ },
+
+ /* SSL configuration (required if using HTTPS) */
+ "ssl" : {
+ "enabled" : false,
+ "key" : "/path/to/.key",
+ "cert" : "/path/to/.crt"
+ }
+} \ No newline at end of file