mocdaniel / dashing-icinga2

Dashing dashboard for Icinga 2 using the REST API
MIT License
204 stars 47 forks source link

I can't set TZ (TimeZone) for container #111

Closed pilot513 closed 4 years ago

pilot513 commented 4 years ago

Hello. I want set timezone with var, when container run -e TZ=America/New_York but it's not worked for me. docker exec -it quizzical_margulis cat /etc/timezone Etc/UTC

pilot513 commented 4 years ago

image

mocdaniel commented 4 years ago

You are using the wrong environment variable name. Use

-e DASHBOARD_TIMEZONE=America/New_York

instead of -e TZ=America/New_York when running your container and it should work just fine, I just checked the behaviour.

pilot513 commented 4 years ago

Very helpful! Thanks!