mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-19 17:34:43 +00:00
Set API Healthcheck
This commit is contained in:
parent
b3925a8fc6
commit
87bfab307d
|
|
@ -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" ]
|
||||
|
|
@ -44,7 +44,7 @@ services:
|
|||
replicas: 1
|
||||
|
||||
api:
|
||||
image: "amineo/t2-stats-api:v0.0.1"
|
||||
image: "amineo/t2-stats-api:v0.0.2"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./build/api/Dockerfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue