mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
add cronicle
This commit is contained in:
@@ -62,6 +62,7 @@ A collection of delicious docker recipes.
|
|||||||
|
|
||||||
## Automation
|
## Automation
|
||||||
|
|
||||||
|
- [x] cronicle
|
||||||
- [x] drone-rsync-arm
|
- [x] drone-rsync-arm
|
||||||
- [x] drone-scp-arm
|
- [x] drone-scp-arm
|
||||||
- [x] drone-ssh-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
|
||||||
Reference in New Issue
Block a user