mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
add cronicle
This commit is contained in:
parent
b03e4b678d
commit
649be8784b
@ -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
20
cronicle/Dockerfile
Normal 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
21
cronicle/README.md
Normal 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/
|
11
cronicle/docker-compose.yml
Normal file
11
cronicle/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user