Add docker healthcheck checking default address
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2023-10-25 20:07:08 -07:00
parent 4ddcea9f7d
commit e0542a68e5

View File

@ -18,4 +18,6 @@ ARG TARGETOS
ARG TARGETARCH
COPY ./dist/resticscheduler-$TARGETOS-$TARGETARCH /bin/resticscheduler
HEALTHCHECK CMD ["wget", "-O", "-", "http://localhost:8080/health"]
ENTRYPOINT [ "/bin/resticscheduler" ]