mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-02-13 03:33:35 +00:00
Set API Healthcheck
This commit is contained in:
parent
b3925a8fc6
commit
87bfab307d
2 changed files with 2 additions and 2 deletions
|
|
@ -65,6 +65,6 @@ COPY ./build/api/entrypoint.sh /entrypoint.sh
|
|||
EXPOSE 8080
|
||||
|
||||
HEALTHCHECK --interval=20s --timeout=30s --start-period=5s --retries=5 \
|
||||
CMD curl -f -k https://localhost:8443/healthz || exit 1
|
||||
CMD curl -f -k http://localhost:8080/ || exit 1
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue