From ddd6ef564207ffbb01d8d34f665a8d4e46e9f9b1 Mon Sep 17 00:00:00 2001 From: Germs2004 <5519340+Germs2004@users.noreply.github.com> Date: Wed, 11 Mar 2020 22:53:35 -0400 Subject: [PATCH] document the TZ environment variable This adds a description of the "TZ" environment variable to the documentation so users will know it exists and works with Watchtower. I only learned of this variable by reading the comments on issue #160. --- docs/arguments.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/arguments.md b/docs/arguments.md index 938dffa..19afeba 100644 --- a/docs/arguments.md +++ b/docs/arguments.md @@ -37,6 +37,16 @@ Environment Variable: N/A Default: N/A ``` +## Time Zone +Sets the time zone to be used by WatchTower's logs and the optional Cron scheduling argument (--schedule). If this environment variable is not set, Watchtower will use the default time zone: UTC. + +``` + Argument: N/A +Environment Variable: TZ + Type: String + Default: "UTC" +``` + ## Cleanup Removes old images after updating. When this flag is specified, watchtower will remove the old image after restarting a container with a new image. Use this option to prevent the accumulation of orphaned images on your system as containers are updated.