Add docker healthcheck checking default address
continuous-integration/drone/push Build is passing Details

This commit is contained in:
IamTheFij 2023-10-25 20:07:08 -07:00
parent 4ddcea9f7d
commit e0542a68e5
1 changed files with 2 additions and 0 deletions

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" ]