From 4b31e38e75546fac2883c516adaec571a664b4cb Mon Sep 17 00:00:00 2001 From: will Farrell Date: Mon, 30 Nov 2020 22:06:22 -0700 Subject: [PATCH] docs: add in example on how to map in local timezone --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 708a580..2615b77 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,13 @@ The certificates, and keys need these names: * client-cert.pem * client-key.pem +### Change Timezone +If you need the timezone to match the local machine, you can map the `/etc/localtime` into the container. +``` +docker run ... -v /etc/localtime:/etc/localtime:ro +``` + + ## ENV Defaults ``` AUTOHEAL_CONTAINER_LABEL=autoheal