Add docker healthcheck checking default address
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4ddcea9f7d
commit
e0542a68e5
@ -18,4 +18,6 @@ ARG TARGETOS
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
|
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
|
||||||
|
|
||||||
|
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
|
||||||
|
|
||||||
ENTRYPOINT [ "/bin/resticscheduler" ]
|
ENTRYPOINT [ "/bin/resticscheduler" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user