pm-docker

1.1.2 • Public • Published

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=

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pm-docker

    Weekly Downloads

    0

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • zandyw