Werk #16594: Container: Support setting custom timezone

Component Other components
Title Container: Support setting custom timezone
Date Aug 21, 2024
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p33 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The checkmk containers now support setting the TZ variable for a container to specify what timezone the site should use.

The timezone information is then set for the site running inside the container. This removes the need to mount timezone files from the host machine into a docker container.

A run command can look like this: docker container run ... --env TZ="Europe/Berlin" check-mk-enterprise:<version>

To the list of all Werks