Skip to content

zandyw/pm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightweight non-invasive node service monitoring and early warning program, including optional enterprise wechat message push function.

Start with fork mode, single process, suitable for running in docker environment.

Install

npm  install -g pm-docker

USE

pmd run [script]

The script value is the scripts command configured in the node project package.json that you want to run.

CONFIG

Create the pm-docker.env file in your project directory and fill in the complete configuration information

#log save path
logPath=

#log split format
logPattern=.yyyy-MM-dd

#upper limit of cpu useage percent
cpuLimit=90

#mini free memory
memoryLimit=100000000

#available disk
diskLimit=500000000

#企业id
corpid=

#自建应用secret
corpsecret=

#自建应用agentid
agentid=

#消息推送给谁
touser=

About

process manager for Node.JS in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published