1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

add ndscheduler

This commit is contained in:
kev 2020-05-22 13:28:29 +08:00
parent 4318f18a12
commit b32329cd1c
4 changed files with 37 additions and 0 deletions

@ -114,6 +114,7 @@ A collection of delicious docker recipes.
- [x] moodle :beetle:
- [x] mosquitto
- [x] motion-arm :+1:
- [x] ndscheduler
- [x] nginx
- [x] ntopng
- [x] nullmailer

20
ndscheduler/Dockerfile Normal file

@ -0,0 +1,20 @@
#
# Dockerfile for ndscheduler
#
FROM python:2-alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache sqlite \
&& pip install ndscheduler requests \
&& rm -f /usr/local/lib/python2.7/site-packages/simple_scheduler/jobs/apns_job.py*
WORKDIR /opt/ndscheduler
VOLUME /opt/ndscheduler
EXPOSE 8888
ENV NDSCHEDULER_SETTINGS_MODULE=simple_scheduler.settings
CMD ["python", "-c", "from ndscheduler.server.server import SchedulerServer; SchedulerServer.run()"]

7
ndscheduler/README.md Normal file

@ -0,0 +1,7 @@
ndscheduler
===========
[ndscheduler][1] is a flexible python library for building your own cron-like
system, with REST APIs and a Web UI.
[1]: https://github.com/Nextdoor/ndscheduler

@ -0,0 +1,9 @@
version: "3.8"
services:
ndscheduler:
image: vimagick/ndscheduler
ports:
- "8888:8888"
volumes:
- ./data:/opt/ndscheduler
restart: unless-stopped