Skip to content

armgit / dashy

Public Imported from GitHub
0

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

add health check back in

ᗪєνιη ᗷυнʟ1cbdee31dc1d
diff --git a/Dockerfile b/Dockerfile
index 2a0e4cd1..cb9a39e6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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