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
9239afe4
Commit
9239afe4
authored
Jul 18, 2020
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pm2 startup
parent
2ab40828
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
Dockerfile
Dockerfile
+1
-1
pm2.config.js
pm2.config.js
+35
-0
No files found.
Dockerfile
View file @
9239afe4
...
...
@@ -20,4 +20,4 @@ EXPOSE 19980 19080 19180
# start server
WORKDIR
/app/node-bigstream
CMD
["pm2-runtime", "start", "pm2-default.json"]
\ No newline at end of file
CMD
pm2-runtime pm2.config.js
\ No newline at end of file
pm2.config.js
0 → 100644
View file @
9239afe4
module
.
exports
=
{
"apps"
:
[{
"name"
:
"bs.storage.write"
,
"script"
:
"./serv-storage.js"
,
"args"
:
"--process-write"
},
{
"name"
:
"bs.storage.read"
,
"script"
:
"./serv-storage.js"
,
"args"
:
"--process-read"
,
"exec_mode"
:
"cluster"
},
{
"name"
:
"bs.worker"
,
"script"
:
"./work-jobworker.js"
,
"exec_mode"
:
"cluster"
,
"instances"
:
process
.
env
[
'BS_NUM_WORKER'
]
||
0
},
{
"name"
:
"bs.trigger.core"
,
"script"
:
"./serv-coretrigger.js"
},
{
"name"
:
"bs.trigger.httplistener"
,
"script"
:
"./serv-httplistener.js"
},
{
"name"
:
"bs.api.service"
,
"script"
:
"./serv-api.js"
},
{
"name"
:
"bs.trigger.nbudp"
,
"script"
:
"./serv-nbudptrigger.js"
}]
}
\ 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