Hi,
I’ve created a docker container using image: syncthing/relaysrv:latest. The container ignores my TZ env var if I look at the timestamps via “docker logs -f strelaysrv”.
I would expect the correct local time stamp in the log with this docker-compose.yml:
environment:
- TZ=Europe/XXXXX
This approach setting the env var also shows my correct local time for the syncthing/syncthing:latest docker container. To get the correct local time in the log of syncthing/relaysrv, I had to workaround by using this:
volumes:
- /etc/localtime:/etc/localtime:ro
Just to let you know
.