mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
Add healthcheck for Docker
This commit is contained in:
parent
c8238aa327
commit
190fcd8ffc
1 changed files with 3 additions and 0 deletions
|
|
@ -14,3 +14,6 @@ ENTRYPOINT ["./entrypoint.sh"]
|
|||
CMD ./dnote-server start
|
||||
|
||||
EXPOSE 3001
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s \
|
||||
CMD wget --no-verbose --tries=1 -O /dev/null http://localhost:3001/health || exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue