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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 64 additions and 0 deletions

View file

@ -52,6 +52,10 @@ Set different options for mynetworks option (can be overwrite in postfix-main.cf
Note: you probably want to [set `POSTFIX_INET_PROTOCOLS=ipv4`](#postfix_inet_protocols) to make it work fine with Docker.
##### TZ
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).
##### ENABLE_AMAVIS
Amavis content filter (used for ClamAV & SpamAssassin)