Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
2427e7d9
Commit
2427e7d9
authored
Sep 23, 2019
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mqtt config
parent
6478433e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
config.js
conf/config.js
+1
-0
default.json
conf/env/default.json
+2
-1
mqtt.json
conf/template/mqtt.json
+3
-0
No files found.
conf/config.js
View file @
2427e7d9
...
@@ -2,6 +2,7 @@ var fs = require('fs');
...
@@ -2,6 +2,7 @@ var fs = require('fs');
var
cfg
=
{
var
cfg
=
{
'amqp'
:
cfg_load
(
'amqp.json'
),
'amqp'
:
cfg_load
(
'amqp.json'
),
'mqtt'
:
cfg_load
(
'mqtt.json'
),
'memstore'
:
cfg_load
(
'memstore.json'
),
'memstore'
:
cfg_load
(
'memstore.json'
),
'storage'
:
cfg_load
(
'storage.json'
),
'storage'
:
cfg_load
(
'storage.json'
),
'auth'
:
{
'auth'
:
{
...
...
conf/env/default.json
View file @
2427e7d9
[
[
{
"env"
:
"BSCONFIG_AMQP_TYPE"
,
"conf"
:
"amqp.type"
},
{
"env"
:
"BSCONFIG_AMQP_TYPE"
,
"conf"
:
"amqp.type"
},
{
"env"
:
"BSCONFIG_AMQP_URL"
,
"conf"
:
"amqp.url"
},
{
"env"
:
"BSCONFIG_AMQP_URL"
,
"conf"
:
"amqp.url"
},
{
"env"
:
"BSCONFIG_MQTT_URL"
,
"conf"
:
"mqtt.url"
},
{
"env"
:
"BSCONFIG_MEMSTORE_TYPE"
,
"conf"
:
"memstore.type"
},
{
"env"
:
"BSCONFIG_MEMSTORE_TYPE"
,
"conf"
:
"memstore.type"
},
{
"env"
:
"BSCONFIG_MEMSTORE_URL"
,
"conf"
:
"memstore.url"
},
{
"env"
:
"BSCONFIG_MEMSTORE_URL"
,
"conf"
:
"memstore.url"
},
{
"env"
:
"BSCONFIG_STORAGE_REPOSITORY"
,
"conf"
:
"storage.repository"
},
{
"env"
:
"BSCONFIG_STORAGE_REPOSITORY"
,
"conf"
:
"storage.repository"
},
{
"env"
:
"BSCONFIG_STORAGE_APIHOSTNAME"
,
"conf"
:
"storage.api_hostname"
},
{
"env"
:
"BSCONFIG_STORAGE_APIHOSTNAME"
,
"conf"
:
"storage.api_hostname"
},
{
"env"
:
"BSCONFIG_
AUTH_
SECRET_TEXT"
,
"conf"
:
"auth.secret.value"
}
{
"env"
:
"BSCONFIG_SECRET_TEXT"
,
"conf"
:
"auth.secret.value"
}
]
]
\ No newline at end of file
conf/template/mqtt.json
0 → 100644
View file @
2427e7d9
{
"url"
:
"mqtt://rabbitmq-server"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment