guofei / web-update-notification-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Install with docker

git clone git@github.com:guofei/web-update-notification-node.git
cd web-update-notification-node
docker build -t guofei/web-update-notification-node-api .
docker run --restart unless-stopped -d -p 8181:3000 guofei/web-update-notification-node-api

Setup log

docker run --restart unless-stopped -d -p 8181:3000 --log-opt max-size=100m --log-opt max-file=10 -v /hostpath/logs:/usr/src/app/tmp/logs guofei/web-update-notification-node-api

Install with k8s

kubectl apply -f api.yml
kubectl port-forward svc/api-service 3000:3000

About


Languages

Language:JavaScript 76.6%Language:Dockerfile 23.4%