1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

scripts: added TZ environment variable to set timezone (#2530)

This commit is contained in:
Georg Lauterbach
2022-04-06 16:48:41 +02:00
committed by GitHub
parent b1594a8b1c
commit a1726dc45a
5 changed files with 64 additions and 0 deletions

View File

@ -62,6 +62,12 @@ UPDATE_CHECK_INTERVAL=1d
# connected-networks => Add all connected docker networks (ipv4 only)
PERMIT_DOCKER=none
# Set the timezone. If this variable is unset, the container runtime will try to detect the time using
# `/etc/localtime`, which you can alternatively mount into the container. The value of this variable
# must follow the pattern `AREA/ZONE`, i.e. of you want to use Germany's time zone, use `Europe/Berlin`.
# You can lookup all available timezones here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=
# In case you network interface differs from 'eth0', e.g. when you are using HostNetworking in Kubernetes,
# you can set NETWORK_INTERFACE to whatever interface you want. This interface will then be used.
# - **empty** => eth0