mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Update Dockerfile health check timings (#1517)
This commit is contained in:
parent
def70dde72
commit
bc64cf3e47
@ -16,7 +16,7 @@ ENV USERNAME="" PASSWORD=""
|
|||||||
EXPOSE 6052
|
EXPOSE 6052
|
||||||
|
|
||||||
# Run healthcheck (heartbeat)
|
# Run healthcheck (heartbeat)
|
||||||
HEALTHCHECK --interval=5m --timeout=3s \
|
HEALTHCHECK --interval=30s --timeout=30s \
|
||||||
CMD curl --fail http://localhost:6052 || exit 1
|
CMD curl --fail http://localhost:6052 || exit 1
|
||||||
|
|
||||||
# The directory the user should mount their configuration files to
|
# The directory the user should mount their configuration files to
|
||||||
|
Loading…
Reference in New Issue
Block a user