1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

add cronicle

This commit is contained in:
kev 2020-05-22 18:17:35 +08:00
parent b03e4b678d
commit 649be8784b
4 changed files with 53 additions and 0 deletions

View File

@ -62,6 +62,7 @@ A collection of delicious docker recipes.
## Automation
- [x] cronicle
- [x] drone-rsync-arm
- [x] drone-scp-arm
- [x] drone-ssh-arm

20
cronicle/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
#
# Dockerfile for cronicle
#
FROM node:alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache curl tar \
&& curl -sSL https://raw.githubusercontent.com/jhuckaby/Cronicle/master/bin/install.js | node
WORKDIR /opt/cronicle
VOLUME /opt/cronicle/conf
ENV CRONICLE_foreground=1
EXPOSE 3012
ENTRYPOINT ["bin/control.sh"]
CMD ["start"]

21
cronicle/README.md Normal file
View File

@ -0,0 +1,21 @@
cronicle
========
[Cronicle][1] is a multi-server task scheduler and runner, with a web based
front-end UI.
It handles both scheduled, repeating and on-demand jobs, targeting any number
of slave servers, with real-time stats and live log viewer.
Written in Node.js, proudly open source and MIT licensed.
```bash
$ mkdir -p data/{conf,data}
$ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/config.json
$ wget -P data https://github.com/jhuckaby/Cronicle/raw/master/sample_conf/setup.json
$ docker-compose run --rm cronicle setup
$ docker-compose up -d
$ curl http://127.0.0.1:3012
```
[1]: http://cronicle.net/

View File

@ -0,0 +1,11 @@
version: "3.8"
services:
cronicle:
image: vimagick/cronicle
ports:
- "3012:3012"
volumes:
- ./data/conf:/opt/cronicle/conf
- ./data/data:/opt/cronicle/data
hostname: cronicle-master
restart: unless-stopped