Compare commits
No commits in common. "fa39f8b7d479921c1b9668e0292c0150629f4cfd" and "6ac07ec9a0571e6efa7a12c529add9cf494b05cf" have entirely different histories.
fa39f8b7d4
...
6ac07ec9a0
@ -15,15 +15,14 @@ ARG CRONICLE_EDGE_VERSION=1.6.2
|
|||||||
ENV CRONICLE_foreground=1
|
ENV CRONICLE_foreground=1
|
||||||
ENV CRONICLE_echo=1
|
ENV CRONICLE_echo=1
|
||||||
ENV CRONICLE_color=1
|
ENV CRONICLE_color=1
|
||||||
ENV EDITOR=nano
|
ENV EDITOR=vi
|
||||||
ENV MODE=manager
|
ENV MODE=manager
|
||||||
ENV PUID=1000
|
ENV PUID=1000
|
||||||
ENV PGID=1000
|
ENV PGID=1000
|
||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
ENV LOG_LEVEL=9
|
|
||||||
|
|
||||||
#Get required packages
|
#Get required packages
|
||||||
RUN apk update && apk add tzdata curl shadow bash xz git procps nodejs npm nano
|
RUN apk update && apk add tzdata curl shadow bash xz git procps nodejs npm
|
||||||
|
|
||||||
#Make folders
|
#Make folders
|
||||||
RUN mkdir /config && \
|
RUN mkdir /config && \
|
||||||
|
12
README.md
12
README.md
@ -6,13 +6,6 @@ Dockerised Cronicle, based on the [Cronicle-Edge](https://github.com/cronicle-ed
|
|||||||
|
|
||||||
Can function in both the **manager** and **worker** role.
|
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
|
## Tags
|
||||||
|
|
||||||
|Tag |Description|
|
|Tag |Description|
|
||||||
@ -26,9 +19,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.
|
`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`. Make sure to change the `secret`!
|
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`.
|
||||||
|
|
||||||
: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:
|
: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:
|
||||||
|
|
||||||
### Docker CLI
|
### Docker CLI
|
||||||
```
|
```
|
||||||
@ -87,4 +80,3 @@ This container automatically checks for scripts in `/config/init` and runs them
|
|||||||
|PUID |int |1000 |Sets the UID of the user Cronicle runs under
|
|PUID |int |1000 |Sets the UID of the user Cronicle runs under
|
||||||
|PGID |int |1000 |Sets the GID 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
|
|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,7 +21,6 @@ PUID=${PUID}
|
|||||||
PGID=${PGID}
|
PGID=${PGID}
|
||||||
TZ=${TZ}
|
TZ=${TZ}
|
||||||
MODE=${MODE}
|
MODE=${MODE}
|
||||||
LOG_LEVEL=${LOG_LEVEL}
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/command/with-contenv bash
|
#!/command/with-contenv bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --debug_level ${LOG_LEVEL} --color ${CRONICLE_color}
|
exec s6-setuidgid cronicle node /app/cronicle/lib/main.js --color 1
|
Loading…
x
Reference in New Issue
Block a user