Configuring the containers' time zone
By default, the time zone for Black Duck containers is UTC. For monitoring purposes, you may want to change this value so that the timestamps shown in logs reflect the local time zone.
To configure a different time zone:
-
Set the value of the TZ environment variable in the
blackduck-config.env
file in thedocker-swarm
directory to the new time zone. Use the values shown in Wikipedia, as shown here.For example, to change the timezone to that used in Denver, Colorado, enter:
TZ=America/Denver
-
Restart the containers.