/nwpc-monitor-platform

NWPC’s monitor platform. ARCHIVED. Please visit nwpc-oepr group.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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