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
df8fcbf0
Commit
df8fcbf0
authored
Aug 18, 2022
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy config to /vernemq/etc
parent
1aaff0e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
Dockerfile
+0
-1
bin/vernemq.sh
+2
-0
No files found.
Dockerfile
View file @
df8fcbf0
...
@@ -50,7 +50,6 @@ EXPOSE 1883 8883 8008 44053 4369 8888 8008\
...
@@ -50,7 +50,6 @@ EXPOSE 1883 8883 8008 44053 4369 8888 8008\
VOLUME
["/vernemq/log", "/vernemq/data", "/vernemq/etc"]
VOLUME
["/vernemq/log", "/vernemq/data", "/vernemq/etc"]
VOLUME
["/var/log/vernemq", "/var/lib/vernemq", "/etc/vernemq"]
# HEALTHCHECK CMD curl -s -f http://localhost:8888/health || false
# HEALTHCHECK CMD curl -s -f http://localhost:8888/health || false
...
...
bin/vernemq.sh
View file @
df8fcbf0
...
@@ -135,6 +135,8 @@ sigterm_handler() {
...
@@ -135,6 +135,8 @@ sigterm_handler() {
trap
'kill ${!}; siguser1_handler'
SIGUSR1
trap
'kill ${!}; siguser1_handler'
SIGUSR1
trap
'kill ${!}; sigterm_handler'
SIGTERM
trap
'kill ${!}; sigterm_handler'
SIGTERM
# this copy of vernewmq use config file in /vernemq/etc
cp
-Rf
/etc/vernemq/
*
/vernemq/etc
/usr/sbin/setapikey.sh &
/usr/sbin/setapikey.sh &
/vernemq/bin/vernemq start
/vernemq/bin/vernemq start
...
...
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