1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-05-22 23:50:12 +02:00

how to set timezone for container

This commit is contained in:
pyy 2020-09-10 20:59:33 +02:00
parent 6dce6c6cf7
commit cde15e365f

View File

@ -25,6 +25,12 @@ volumes:
- /etc/localtime:/etc/localtime:ro
```
(optional) Add one line to `.env` or `env-mailserver` to set timetzone for container, for example:
```
TZ=Europe/Berlin
```
check here for [`tz name list`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
### What is the file format?
All files are using the Unix format with `LF` line endings.