1
0
mirror of https://github.com/Lissy93/dashy.git synced 2025-04-08 17:06:18 +02:00

add health check back in

This commit is contained in:
ᗪєνιη ᗷυнʟ 2021-08-14 19:23:29 -04:00 committed by GitHub
parent 1d526b73e9
commit 1cbdee31dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,3 +48,6 @@ CMD [ "yarn", "build-and-start" ]
# Expose given port
EXPOSE ${PORT}
# Run simple healthchecks every 5 mins, to check the Dashy's everythings great
HEALTHCHECK --interval=5m --timeout=2s --start-period=30s CMD yarn health-check