chore(docker): Add TZ support in Docker Image

Fixes #80
pull/92/head
Robert Dailey 2 years ago
parent fd6d51b2da
commit 1f7da24e82

@ -45,7 +45,7 @@ ENV HOME=/config \
VOLUME /config
RUN set -ex; \
apk add --no-cache busybox-suid su-exec libstdc++; \
apk add --no-cache busybox-suid su-exec libstdc++ tzdata; \
adduser --disabled-password --home "$HOME" recyclarr;
COPY --chown=recyclarr:recyclarr --chmod=544 --from=build /build/recyclarr /usr/local/bin

@ -19,3 +19,4 @@ services:
- ./config:/config
environment:
CRON_SCHEDULE: "* * * * *"
TZ: America/Chicago

@ -26,6 +26,8 @@ services:
networks: [recyclarr]
volumes:
- ./config:/config
environment:
- TZ=America/Santiago
```
Here is a breakdown of the above YAML:
@ -80,6 +82,8 @@ value *stability* the most, you want the bottom row. If you value being on *the
- `CRON_SCHEDULE` (Default: `@daily`)<br>
Standard cron syntax for how often you want Recyclarr to run (see [Cron Mode](#cron-mode)).
- `TZ` (Default: UTC)
The time zone you want to use for Recyclarr's local time in the container.
## Modes

Loading…
Cancel
Save