Skip to content

Commit f8d8295

Browse files
committed
[DOP-25348] Add HEALTHCHECK
1 parent d6bef43 commit f8d8295

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ ENV SYNCMASTER__UI__API_BROWSER_URL=${API_URL}
2929
ENTRYPOINT ["/entrypoint.sh"]
3030
CMD ["nginx", "-g", "daemon off;"]
3131
EXPOSE 3000
32+
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["curl", "-f", "http://localhost:3000/"]

0 commit comments

Comments
 (0)