mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Docker healthcheck
Copied from https://scoutapm.com/blog/how-to-use-docker-healthcheck
This commit is contained in:
parent
c203317b3b
commit
7dae5279fb
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ RUN npm run build
|
|||
|
||||
EXPOSE 3001
|
||||
VOLUME ["/app/data"]
|
||||
HEALTHCHECK --interval=5s --timeout=3s --start-period=30s CMD node extra/healthcheck.js
|
||||
CMD ["npm", "run", "start-server"]
|
||||
|
||||
FROM release AS nightly
|
||||
|
|
Loading…
Reference in a new issue