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
1 changed files with 3 additions and 0 deletions

View File

@ -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