Skip to content
NWPC’s monitor platform.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
install
nmp-broker @ ec8d2f4
nmp-model @ 298ccea
nmp-scheduler @ 967cadc
nmp-web @ 01c098d
script
test/manual
vendor
.dockerignore
.gitattributes
.gitignore
.gitmodules
LICENSE.md
README.md

README.md

NWPC Monitor Platform

A monitor platform for operation systems in NWPC.

Docker

Build images

docker build --rm -t nwpcc/nmp-base -f ./docker/base/Dockerfile .
docker build --rm -t nwpcc/nmp-broker -f ./docker/broker/Dockerfile .
docker build --rm -t nwpcc/nmp-scheduler -f ./docker/task_scheduler/Dockerfile .

Use container

broker

docker run -d -p 6201:80 \
    -v /some/config/file/path:/etc/nmp-broker/config.yaml \
    nwpcc/nmp-broker

task scheduler

docker run -d \
    -v /some/config/scheduler:/etc/nmp-scheduler nwpcc/nmp-scheduler \
    --config-file=/etc/nmp-scheduler/celery.config.yaml worker \
    --queues=nmp_sms --name=sms

docker run -d \
    -v /some/config/scheduler:/etc/nwp-scheduler nwpcc/nmp-scheduler \
    --config-file=/etc/nmp-scheduler/celery.config.yaml beat

LICENSE

Copyright © 2015-2019, Perilla Roc.

nwpc-monitor-platform is licensed under GPL v3.0

You can’t perform that action at this time.