Add timezone mapping to Docker compose. (#266)

* Add timezone mapping to Docker compose.

* Update guides/faq.rst

Co-Authored-By: Otto Winter <otto@otto-winter.com>

* Update faq.rst

Remove redundant explanation.
This commit is contained in:
jeff-h 2019-06-06 21:02:12 +12:00 committed by Otto Winter
parent 7b21298750
commit f9124501cd

View File

@ -259,6 +259,8 @@ And a docker compose file looks like this:
image: esphome/esphome
volumes:
- ./:/config:rw
# Use local time for logging timestamps
- /etc/localtime:/etc/localtime:ro
network_mode: host
restart: always