matomo-org/docker

Missing timezone

Ninos opened this issue · 2 comments

Ninos commented

A timezone is missing in the php configuration. As default php uses UTC (wrong time in log-files, archives...). Normally it should be enough adding date.timezone = "add content of /etc/timezone" to php.ini-file in DOCKERFILE.

You can also use the TZ environment variable, eg:

docker run -e TZ=Australia/Melbourne matomo
or in docker-compose.yml

version: '3'
services:
  matomo:
    image: matomo
    environment:
      - 'TZ=Australia/Melbourne'
...
Ninos commented

Already tried, not working, because PHP timezone ist different/independent to system timezone