Compare commits
30 Commits
1.0.1
...
fa39f8b7d4
| Author | SHA1 | Date | |
|---|---|---|---|
| fa39f8b7d4 | |||
| 1920c68eba | |||
| d293cbaef9 | |||
| 6ac07ec9a0 | |||
| ab73132553 | |||
| 76cdb2640e | |||
| f1f322d58a | |||
| bfbc0e22d7 | |||
| f3dc829111 | |||
| 9c3caf751e | |||
| 1ac78908ad | |||
| f990871798 | |||
| 2ecac58414 | |||
| 613393f328 | |||
| 30026b4e17 | |||
| 580845afe0 | |||
| d4aa8ff410 | |||
| b3436f3b2c | |||
| 4541df4c8a | |||
| 26c3a15c81 | |||
| e10acf4e46 | |||
| 2d8fb52b23 | |||
| 511704a90f | |||
| 70d6215ca3 | |||
| d759db2bb0 | |||
| c04d6febad | |||
| cad9b48ab9 | |||
| 327208391b | |||
| ee7034cba3 | |||
| 78f681fb41 |
@ -15,14 +15,15 @@ ARG CRONICLE_EDGE_VERSION=1.6.2
|
||||
ENV CRONICLE_foreground=1
|
||||
ENV CRONICLE_echo=1
|
||||
ENV CRONICLE_color=1
|
||||
ENV EDITOR=vi
|
||||
ENV EDITOR=nano
|
||||
ENV MODE=manager
|
||||
ENV PUID=1000
|
||||
ENV PGID=1000
|
||||
ENV TZ=UTC
|
||||
ENV LOG_LEVEL=9
|
||||
|
||||
#Get required packages
|
||||
RUN apk update && apk add tzdata curl shadow bash xz git procps nodejs npm
|
||||
RUN apk update && apk add tzdata curl shadow bash xz git procps nodejs npm nano
|
||||
|
||||
#Make folders
|
||||
RUN mkdir /config && \
|
||||
|
||||
12
README.md
12
README.md
@ -6,6 +6,13 @@ Dockerised Cronicle, based on the [Cronicle-Edge](https://github.com/cronicle-ed
|
||||
|
||||
Can function in both the **manager** and **worker** role.
|
||||
|
||||
*This repo is mirrored to GitHub*
|
||||
|
||||
## Links
|
||||
- :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
|
||||
- :mirror: [GitHub mirror](https://github.com/MrMeeb/cronicle-docker)
|
||||
|
||||
## Tags
|
||||
|
||||
|Tag |Description|
|
||||
@ -19,9 +26,9 @@ Tags relating to releases are also available, for locking in on a specific versi
|
||||
|
||||
`config.json`, located in `/config/cronicle/conf/config.json`, is automatically generated on the first run of Cronicle in 'manager' mode. This file must be kept identical between the manager and any workers it controls.
|
||||
|
||||
If you want to configure Cronicle before first run (e.g to use a different storage engine), download `config_sample.json` and adjust accordingly before placing in `/config/cronicle/conf/config.json`.
|
||||
If you want to configure Cronicle before first run (e.g to use a different storage engine), download `config_sample.json` and adjust accordingly before placing in `/config/cronicle/conf/config.json`. Make sure to change the `secret`!
|
||||
|
||||
:exclamation: NOTE: You must define the hostname of the container. Cronicle expects the hostname to remain the same, so the randomly-generated container hostname can cause problems if it changes. :exclamation:
|
||||
:exclamation: You must define the hostname of the container. Cronicle expects the hostname to remain the same, so the randomly-generated container hostname can cause problems if it changes. :exclamation:
|
||||
|
||||
### Docker CLI
|
||||
```
|
||||
@ -80,3 +87,4 @@ This container automatically checks for scripts in `/config/init` and runs them
|
||||
|PUID |int |1000 |Sets the UID of the user Cronicle runs under
|
||||
|PGID |int |1000 |Sets the GID of the user Cronicle runs under
|
||||
|TZ |[List of valid TZs](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) |UTC |Sets the timezone of the container and by extension Cronicle
|
||||
|LOG_LEVEL|1-10 |9 |Sets log level from `1` (quietest) to `10` (loudest)|
|
||||
|
||||
@ -21,6 +21,7 @@ PUID=${PUID}
|
||||
PGID=${PGID}
|
||||
TZ=${TZ}
|
||||
MODE=${MODE}
|
||||
LOG_LEVEL=${LOG_LEVEL}
|
||||
----------------------------------------------------------------------
|
||||
"
|
||||
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#!/command/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --color 1
|
||||
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --debug_level ${LOG_LEVEL} --color ${CRONICLE_color}
|
||||
Reference in New Issue
Block a user