Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vernemq
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stack
vernemq
Commits
241d16c4
Commit
241d16c4
authored
Jun 11, 2018
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add authhook
parent
b4aa7a7c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
12 deletions
+2
-12
Dockerfile
+1
-0
authhook/auth_on_publish.js
+0
-4
authhook/auth_on_register.js
+0
-3
authhook/auth_on_subscribe.js
+0
-4
authhook/package-lock.json
+0
-0
kubernetes/vernemq-deployment.yaml
+1
-1
No files found.
Dockerfile
View file @
241d16c4
...
@@ -25,6 +25,7 @@ ADD files/vm.args /etc/vernemq/vm.args
...
@@ -25,6 +25,7 @@ ADD files/vm.args /etc/vernemq/vm.args
ADD
bin/vernemq.sh /usr/sbin/start_vernemq
ADD
bin/vernemq.sh /usr/sbin/start_vernemq
ADD
bin/rand_cluster_node.escript /var/lib/vernemq/rand_cluster_node.escript
ADD
bin/rand_cluster_node.escript /var/lib/vernemq/rand_cluster_node.escript
ADD
files/vernemq.conf /etc/vernemq/vernemq.conf
# MQTT
# MQTT
EXPOSE
1883
EXPOSE
1883
...
...
authhook/auth_on_publish.js
View file @
241d16c4
...
@@ -55,9 +55,5 @@ module.exports = function(options={}) {
...
@@ -55,9 +55,5 @@ module.exports = function(options={}) {
res
.
send
(
out
);
res
.
send
(
out
);
next
();
next
();
}
}
else
{
next
();
}
}
}
}
}
authhook/auth_on_register.js
View file @
241d16c4
...
@@ -51,8 +51,5 @@ module.exports = function(options={}) {
...
@@ -51,8 +51,5 @@ module.exports = function(options={}) {
res
.
send
(
out
);
res
.
send
(
out
);
next
();
next
();
}
}
else
{
next
();
}
}
}
}
}
authhook/auth_on_subscribe.js
View file @
241d16c4
...
@@ -55,9 +55,5 @@ module.exports = function(options={}) {
...
@@ -55,9 +55,5 @@ module.exports = function(options={}) {
res
.
send
(
out
);
res
.
send
(
out
);
next
();
next
();
}
}
else
{
next
();
}
}
}
}
}
authhook/package-lock.json
deleted
100644 → 0
View file @
b4aa7a7c
This diff is collapsed.
Click to expand it.
kubernetes/vernemq-deployment.yaml
View file @
241d16c4
...
@@ -9,7 +9,7 @@ metadata:
...
@@ -9,7 +9,7 @@ metadata:
spec
:
spec
:
# this replicas value is default
# this replicas value is default
# modify it according to your case
# modify it according to your case
replicas
:
3
replicas
:
1
# selector can be applied automatically
# selector can be applied automatically
# from the labels in the pod template if not set
# from the labels in the pod template if not set
selector
:
selector
:
...
...
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