Compare commits
2 Commits
fa39f8b7d4
...
2706c094d6
Author | SHA1 | Date | |
---|---|---|---|
2706c094d6 | |||
ada0034f7f |
34
README.md
34
README.md
@ -1,17 +1,41 @@
|
|||||||
# Cronicle Docker
|
# Cronicle Docker
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Dockerised Cronicle, based on the [Cronicle-Edge](https://github.com/cronicle-edge/cronicle-edge) fork.
|
Dockerised Cronicle, based on the [Cronicle-Edge](https://github.com/cronicle-edge/cronicle-edge) fork of [Cronicle](https://github.com/jhuckaby/Cronicle). This container was built to include features I value in containers, namely logging to `stdout` and configurable `PUID` and `PGID`.
|
||||||
|
|
||||||
Can function in both the **manager** and **worker** role.
|
This container can function in both the **manager** and **worker** role.
|
||||||
|
|
||||||
*This repo is mirrored to GitHub*
|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
- :tea: [Gitea Repo (source)](https://git.mrmeeb.stream/MrMeeb/cronicle-docker)
|
- :tea: [Gitea Repo (source)](https://git.mrmeeb.stream/MrMeeb/cronicle-docker)
|
||||||
- :whale2: [Containers](https://git.mrmeeb.stream/MrMeeb/-/packages/container/cronicle/latest) - since I'm currently not also publishing them to ghcr.io
|
- :whale2: [Containers](https://git.mrmeeb.stream/MrMeeb/-/packages/container/cronicle/latest) - since I'm currently not also publishing them to ghcr.io
|
||||||
- :mirror: [GitHub mirror](https://github.com/MrMeeb/cronicle-docker)
|
- :mirror: [GitHub mirror](https://github.com/MrMeeb/cronicle-docker)
|
||||||
|
- :package: [Cronicle Repo](https://github.com/jhuckaby/Cronicle)
|
||||||
|
- :package: [Cronicle-Edge Repo](https://github.com/cronicle-edge/cronicle-edge)
|
||||||
|
|
||||||
|
*This repo is mirrored to GitHub*
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
[**Cronicle**](https://github.com/jhuckaby/Cronicle) 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 worker servers, with real-time stats and live log viewer. It's basically a fancy [Cron](https://en.wikipedia.org/wiki/Cron) replacement written in [Node.js](https://nodejs.org/). You can give it simple shell commands, or write Plugins in virtually any language.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Features at a Glance
|
||||||
|
|
||||||
|
* Single or multi-server setup.
|
||||||
|
* Automated failover to backup servers.
|
||||||
|
* Auto-discovery of nearby servers.
|
||||||
|
* Real-time job status with live log viewer.
|
||||||
|
* Plugins can be written in any language.
|
||||||
|
* Schedule events in multiple timezones.
|
||||||
|
* Optionally queue up long-running events.
|
||||||
|
* Track CPU and memory usage for each job.
|
||||||
|
* Historical stats with performance graphs.
|
||||||
|
* Simple JSON messaging system for Plugins.
|
||||||
|
* Web hooks for external notification systems.
|
||||||
|
* Simple REST API for scheduling and running events.
|
||||||
|
* API Keys for authenticating remote apps.
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
|
||||||
|
@ -104,3 +104,21 @@ else
|
|||||||
echo "'$MODE' is not a recognised appion for the MODE environment variable. Accepted appions are 'manager' and 'worker'."
|
echo "'$MODE' is not a recognised appion for the MODE environment variable. Accepted appions are 'manager' and 'worker'."
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Expose log directory
|
||||||
|
if [ ! -d /config/cronicle/logs ]
|
||||||
|
then
|
||||||
|
|
||||||
|
echo "Logs dir is missing, creating."
|
||||||
|
|
||||||
|
cp -r /app/cronicle/logs /config/cronicle/logs
|
||||||
|
rm -rf /app/cronicle/logs
|
||||||
|
ln -s /config/cronicle/logs /app/cronicle/logs
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Logs dir already exists. Doesn't need creating."
|
||||||
|
echo "Linking persistent logs dir back into Cronicle."
|
||||||
|
rm -rf /app/cronicle/logs
|
||||||
|
ln -s /config/cronicle/logs /app/cronicle/logs
|
||||||
|
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user