Open Swallowtail23 opened 1 year ago
I have my docker container set to use an environment variable such as - TZ=America/Chicago
and it works just fine.
I mounted the host config as a volume:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
´´´
Description
I have podman (docker) set to use my local timezone, and the logging shows that is working but UPB's logging uses only UTC - note container log entry on the following line with UPB then appending UTC:
2022-12-12T11:37:41.962213664+10:00 stderr F 2022-12-12 01:37:41 [ INFO ] unifi_protect_backup.unifi_protect_backup : Starting...
Can UPB use the container's TZ instead of UTC?