Sign inSign up

labdocker/linenotify

By labdocker

•Updated about 5 years ago

Need to define ENV before running (Token with LINE)

Image
1

2.0K

labdocker/linenotify repository overview

FROM labdocker/alpine:latest MAINTAINER Praparn Lueangphoonlap ([email protected]⁠) LABEL Description="NodeJS Monitoring Container" Version="1.0" ENV NODE_VERSION=v4.3.0 NPM_VERSION=2.14.12 TITLE=NODEJS_BOT_NOTIFY INTERVAL=10000 HEAP_HIGH=70 MEM_HIGH=30 SH_OS=Y TOKEN=XXXX #ENV for run this container #TITLE = title of notification #INTERVAL = interval for loop check (ms) #HEAP_HIGH = high level heap memory (%) #MEM_HIGH = high level memory use (%) #SH_OS = show os information (if no it show only critical) (y/n) #TOKEN for define token to line

RUN apk update &&
apk add nodejs curl vim bash RUN mkdir /nodejs COPY /src/index.js /nodejs/index.js WORKDIR /nodejs RUN npm install monitor request --save ENTRYPOINT ["node","index.js"] EXPOSE 3000

Tag summary

Content type

Image

Digest

Size

40.2 MB

Last updated

about 9 years ago

docker pull labdocker/linenotify